From 5d1578d85b6f09d827a6fe954d0617e1c13267b3 Mon Sep 17 00:00:00 2001 From: dev-313 Date: Mon, 7 Oct 2019 23:46:03 +0530 Subject: [PATCH] doc: add options description for send APIs Describes the meaning of the boolean return in process.send() (doc/api/process.md) and worker.send() (doc/api/cluster.md) as described in subprocess.send() (doc/api/child_process.md) Fixes: https://github.com/nodejs/node/issues/26995 PR-URL: https://github.com/nodejs/node/pull/29868 Reviewed-By: Gireesh Punathil --- doc/api/cluster.md | 8 +++++++- doc/api/process.md | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/api/cluster.md b/doc/api/cluster.md index 972309a7013690..179a775074a394 100644 --- a/doc/api/cluster.md +++ b/doc/api/cluster.md @@ -456,7 +456,7 @@ Workers will call `process.exit(0)` if the `'disconnect'` event occurs on `process` and `.exitedAfterDisconnect` is not `true`. This protects against accidental disconnection. -### worker.send(message\[, sendHandle\]\[, callback\]) +### worker.send(message\[, sendHandle\[, options\]\]\[, callback\])