Skip to content

Commit

Permalink
doc: update process.send() signature
Browse files Browse the repository at this point in the history
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: #5284
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
cjihrig committed Feb 17, 2016
1 parent 5778f2b commit 7550160
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/process.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7550160

Please sign in to comment.