Files
node/doc/api
Ben Noordhuis 607aa3ac82 child_process: add callback parameter to .send()
Add an optional callback parameter to `ChildProcess.prototype.send()`
that is invoked when the message has been sent.

Juggle the control channel's reference count so that in-flight messages
keep the event loop (and therefore the process) alive until they have
been sent.

`ChildProcess.prototype.send()` and `process.send()` used to operate
synchronously but became asynchronous in commit libuv/libuv@393c1c5
("unix: set non-block mode in uv_{pipe,tcp,udp}_open"), which landed
in io.js in commit 07bd05b ("deps: update libuv to 1.2.1").

Fixes: https://github.com/nodejs/node/issues/760
PR-URL: https://github.com/nodejs/node/pull/2620
Reviewed-By: trevnorris - Trevor Norris <trev.norris@gmail.com>
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com>
2015-09-06 21:37:58 +10:00
..
2015-08-04 11:56:14 -07:00
2015-08-04 11:56:14 -07:00
2015-02-27 14:23:01 -08:00
2015-04-11 06:47:30 +02:00
2015-08-23 17:59:43 -04:00
2015-08-23 17:59:43 -04:00
2010-11-07 17:22:56 -08:00
2015-06-05 22:58:14 -04:00
2015-05-25 13:50:53 +02:00
2015-08-23 17:59:43 -04:00
2015-03-13 23:14:20 +01:00
2015-08-23 17:59:43 -04:00