Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2022-04-10 23:34:23 +0300
committerGitHub <noreply@github.com>2022-04-10 23:34:23 +0300
commit65e838071bdf29d8e82bcfc1b0352884e2ba3af0 (patch)
treea6d37fbfb17472dd6f3f72f37dda2721c168c2fe /doc
parentd835b1f1c1a9613b7b780017baabbf2ffc2c160a (diff)
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cluster.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md
index 7270a4e580b..202082ed5c9 100644
--- a/doc/api/cluster.md
+++ b/doc/api/cluster.md
@@ -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`.