Lines Matching defs:Worker
12 module.exports = Worker;
14 // Common Worker implementation shared between the cluster primary and workers.
15 function Worker(options) {
16 if (!(this instanceof Worker))
17 return new Worker(options);
40 ObjectSetPrototypeOf(Worker.prototype, EventEmitter.prototype);
41 ObjectSetPrototypeOf(Worker, EventEmitter);
43 Worker.prototype.kill = function() {
47 Worker.prototype.send = function() {
51 Worker.prototype.isDead = function() {
55 Worker.prototype.isConnected = function() {