summaryrefslogtreecommitdiff
path: root/doc/api/cluster.md
diff options
context:
space:
mode:
authorRoman Reiss <me@silverwind.io>2017-03-05 18:03:39 +0100
committerRoman Reiss <me@silverwind.io>2017-03-08 17:19:24 +0100
commit5f32024055adc2f908c582d933259f9fcf5db423 (patch)
treebce5be96439ed649da400b25d01c800a8f0aa72a /doc/api/cluster.md
parent9772fb928263562a755f1aeef6a65620e7e51bf2 (diff)
downloadandroid-node-v8-5f32024055adc2f908c582d933259f9fcf5db423.tar.gz
android-node-v8-5f32024055adc2f908c582d933259f9fcf5db423.tar.bz2
android-node-v8-5f32024055adc2f908c582d933259f9fcf5db423.zip
doc/tools: fix more type inconsistencies
- fix a number of uppercase types - lowercase 'integer' - consistent formatting in crypto PR-URL: https://github.com/nodejs/node/pull/11697 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'doc/api/cluster.md')
-rw-r--r--doc/api/cluster.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md
index 580136de14..0774938766 100644
--- a/doc/api/cluster.md
+++ b/doc/api/cluster.md
@@ -332,7 +332,7 @@ if (cluster.isMaster) {
added: v6.0.0
-->
-* {Boolean}
+* {boolean}
Set by calling `.kill()` or `.disconnect()`. Until then, it is `undefined`.
@@ -356,7 +356,7 @@ worker.kill();
added: v0.8.0
-->
-* {Number}
+* {number}
Each new worker is given its own unique id, this id is stored in the
`id`.
@@ -691,7 +691,7 @@ This can only be called from the master process.
added: v0.8.1
-->
-* {Boolean}
+* {boolean}
True if the process is a master. This is determined
by the `process.env.NODE_UNIQUE_ID`. If `process.env.NODE_UNIQUE_ID` is
@@ -702,7 +702,7 @@ undefined, then `isMaster` is `true`.
added: v0.6.0
-->
-* {Boolean}
+* {boolean}
True if the process is not a master (it is the negation of `cluster.isMaster`).