summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNimit Aggarwal <nimitagg95@gmail.com>2019-09-02 13:22:19 +0530
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-09-09 05:47:45 +0200
commit695e8195176730078dba4d8c8c1ba4acf236d651 (patch)
tree8e59b86352c961eee1fe82a166da6a8977e1b019 /doc
parent1f4f2b488e0bc189da4759973db480e3c0dd01dd (diff)
downloadandroid-node-v8-695e8195176730078dba4d8c8c1ba4acf236d651.tar.gz
android-node-v8-695e8195176730078dba4d8c8c1ba4acf236d651.tar.bz2
android-node-v8-695e8195176730078dba4d8c8c1ba4acf236d651.zip
doc: exitedAfterDisconnect value can be false
Fixed the documentation to reflect the changes in the default value of worker.exitedAfterDisconnect PR-URL: https://github.com/nodejs/node/pull/29404 Fixes: https://github.com/nodejs/node/issues/28837 Refs: https://github.com/nodejs/node/pull/3743 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cluster.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md
index 979ddac5b9..06f730e3ae 100644
--- a/doc/api/cluster.md
+++ b/doc/api/cluster.md
@@ -336,7 +336,9 @@ added: v6.0.0
* {boolean}
-Set by calling `.kill()` or `.disconnect()`. Until then, it is `undefined`.
+This property is `true` if the worker exited due to `.kill()` or
+`.disconnect()`. If the worker exited any other way, it is `false`. If the
+worker has not exited, it is `undefined`.
The boolean [`worker.exitedAfterDisconnect`][] allows distinguishing between
voluntary and accidental exit, the master may choose not to respawn a worker