From 94c2de47b151663d5212fa7fb068b6f13577f447 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 5a81c09cc1970f..df5d078a5d83e2 100644 --- a/doc/api/process.markdown +++ b/doc/api/process.markdown @@ -750,6 +750,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