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:
Tobias Nießen
2022-04-10 22:34:23 +02:00
committed by GitHub
parent d835b1f1c1
commit 65e838071b

View File

@@ -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`.