forkqueue
forkqueue copied to clipboard
A work queue for node.js that uses child processes
Seem like some of the documentation for your event listeners is off. ``` queue.emit('enqueue', value) - the enqueued value queue.emit('dequeue', value) - the dequeued value ``` should be ``` queue.emit('enqueued',...
Would it be possible to add args here: https://github.com/andrewjstone/forkqueue/blob/master/queue.js#L25 var worker = cp.fork(this.workerModule,[this.workers.length]); so that the worker process can get his ID from progess.argv like this: const ID= process.argv[2]; this...