Skip to content

Commit

Permalink
doc: mark worker.id as integer in cluster docs
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#42684
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Akhil Marsonya <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
tniessen authored and guangwong committed Oct 10, 2022
1 parent 04b1029 commit cfe132a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit cfe132a

Please sign in to comment.