diff --git a/doc/api/cluster.md b/doc/api/cluster.md index 979ddac5b9223d..06f730e3ae66a5 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