Skip to content

Commit b3c5970

Browse files
cjihrigMyles Borins
authored andcommitted
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: #5284 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f87b8f7 commit b3c5970

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/process.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ relied upon to exist.
750750

751751
* `message` {Object}
752752
* `sendHandle` {Handle object}
753+
* `callback` {Function}
754+
* Return: {Boolean}
753755

754756
When Node.js is spawned with an IPC channel attached, it can send messages to its
755757
parent process using `process.send()`. Each will be received as a

0 commit comments

Comments
 (0)