node-crew
v0.0.3
Published
Manage workers on a queue.
Downloads
8
Maintainers
Readme
Crew
Manage workers on a queue.
Installation
$ npm install node-crew
Pool
var pool = new crew.Pool();
Worker
// events worker.on('exit', function (worker, process, code, signal) { // exit handler }) .on('error', function (err, worker, process) { // error handler }) .on('message', function (message, worker, instance) { // message handler }); pool.addWorker(worker);