diff options
author | cjihrig <cjihrig@gmail.com> | 2016-05-26 13:00:51 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2016-05-31 09:45:14 -0400 |
commit | 67368d8553977a281f778a144de9b0a75bc17f90 (patch) | |
tree | 380e5386f175e68c1397a83f7119af05994ccb9d /doc/api/string_decoder.md | |
parent | c4f80c1f3466eb56f33136ee6e2332335db0ec67 (diff) | |
download | android-node-v8-67368d8553977a281f778a144de9b0a75bc17f90.tar.gz android-node-v8-67368d8553977a281f778a144de9b0a75bc17f90.tar.bz2 android-node-v8-67368d8553977a281f778a144de9b0a75bc17f90.zip |
cluster: expose result of send()
There are several places in the cluster module where a version
of process.send() is called, but the result is swallowed. Most
of these cases are internal, but Worker.prototype.send(), which
is publicly documented, also suffers from this problem. This
commit exposes the return value to facilitate better error
handling, and bring Worker.prototype.send() into compliance
with the documentation.
PR-URL: https://github.com/nodejs/node/pull/6998
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ron Korving <ron@ronkorving.nl>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'doc/api/string_decoder.md')
0 files changed, 0 insertions, 0 deletions