Browse Source

doc: improve cluster.workers documentation

v0.8.7-release
Ben Noordhuis 13 years ago
parent
commit
9315377693
  1. 4
      doc/api/cluster.markdown

4
doc/api/cluster.markdown

@ -256,8 +256,8 @@ The method takes an optional callback argument which will be called when finishe
* {Object} * {Object}
In the cluster all living worker objects are stored in this object by there A hash that stores the active worker objects, keyed by `id` field. Makes it
`id` as the key. This makes it easy to loop through all living workers. easy to loop through all the workers.
// Go through all workers // Go through all workers
function eachWorker(callback) { function eachWorker(callback) {

Loading…
Cancel
Save