diff --git a/doc/api/cluster.md b/doc/api/cluster.md index fb7328aa4d730b..1e73fc70869e94 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