e", (message, handle) => this.emit("message", message, handle));
}
@toClass(Worker, "Worker", EventEmitter);
Worker.prototype.kill = function() {
  this.destroy.@apply(this, arguments);
};
Worker.prototype.send = function() {
  return this.process.send.@apply(this.process, arguments);
};
Worker.prototype.isDead = function() {
  return this.process.exitCode != null || this.process.signalCode != null;
};
Worker.prototype.isConnected = function() {
  return this.process.connected;
};
$ = Worker;
return $})

