docs.
This commit is contained in:
parent
a5ad8dcbfa
commit
aac2f629d0
@ -54,7 +54,7 @@ Workers.CORES = getCores();
|
||||
/**
|
||||
* Spawn a new worker.
|
||||
* @param {Number} index - Worker ID.
|
||||
* @returns {ChildProcess}
|
||||
* @returns {Worker}
|
||||
*/
|
||||
|
||||
Workers.prototype.spawn = function spawn(id) {
|
||||
@ -96,7 +96,7 @@ Workers.prototype.spawn = function spawn(id) {
|
||||
* and will automatically load balance the workers based
|
||||
* on job ID.
|
||||
* @param {Number} job
|
||||
* @returns {ChildProcess}
|
||||
* @returns {Worker}
|
||||
*/
|
||||
|
||||
Workers.prototype.alloc = function alloc(job) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user