Skip to content

Commit 48fa6f6

Browse files
cjihrigrvagg
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 <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent f5cc047 commit 48fa6f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/process.markdown

+2
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,8 @@ relied upon to exist.
825825

826826
* `message` {Object}
827827
* `sendHandle` {Handle object}
828+
* `callback` {Function}
829+
* Return: {Boolean}
828830

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

0 commit comments

Comments
 (0)