From 7550160e2b93888328c9a3b1fb12bfd052bbf137 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Wed, 17 Feb 2016 11:13:18 -0500 Subject: [PATCH] doc: update process.send() signature This commit brings the process.send() signature into sync with the child_process.send() documentation. Specifically, this commit adds the callback argument and return type to the docs. PR-URL: https://github.com/nodejs/node/pull/5284 Reviewed-By: Ben Noordhuis Reviewed-By: James M Snell --- doc/api/process.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/process.markdown b/doc/api/process.markdown index c2a07f45a9ed1e..9402788ba15028 100644 --- a/doc/api/process.markdown +++ b/doc/api/process.markdown @@ -825,6 +825,8 @@ relied upon to exist. * `message` {Object} * `sendHandle` {Handle object} +* `callback` {Function} +* Return: {Boolean} When Node.js is spawned with an IPC channel attached, it can send messages to its parent process using `process.send()`. Each will be received as a