src/workers/child.js
function Child(file) {
  if (!(this instanceof Child))
    return new Child(file);

  EventEmitter.call(this);

  bindExit();
  children.add(this);

  this.init(file);
}
function Child(file) {
  if (!(this instanceof Child))
    return new Child(file);

  EventEmitter.call(this);

  bindExit();
  children.add(this);

  this.init(file);
}
function Child ( file ) { if ( ! ( this instanceof Child ) ) return new Child ( file ) ; EventEmitter . call ( this ) ; bindExit ( ) ; children . add ( this ) ; this . init ( file ) ; }
Represents a child process.
@alias module:workers.Child
@constructor
@param {String} file
Represents a child process .