mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: mark worker.id as integer in cluster docs
PR-URL: https://github.com/nodejs/node/pull/42684 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
@@ -477,7 +477,7 @@ worker.kill();
|
||||
added: v0.8.0
|
||||
-->
|
||||
|
||||
* {number}
|
||||
* {integer}
|
||||
|
||||
Each new worker is given its own unique id, this id is stored in the
|
||||
`id`.
|
||||
|
||||
Reference in New Issue
Block a user