mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
doc: fixed worker.id type
per: https://github.com/joyent/node/pull/25459 originally submitted by @sonnyp Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> PR-URL: https://github.com/nodejs/node/pull/2378
This commit is contained in:
1 parent
ea9ee15c21
commit
242e3fe3ba
1 file changed
+1
-1
@@ -384,7 +384,7 @@ it can be obtained using `cluster.worker`.
|
||||
|
||||
### worker.id
|
||||
|
||||
* {String}
|
||||
* {Number}
|
||||
|
||||
Each new worker is given its own unique id, this id is stored in the
|
||||
`id`.
|
||||
|
||||
Reference in new issue
Block a user