We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2043750 commit d30afa8Copy full SHA for d30afa8
src/Node/ChildProcess.js
@@ -47,7 +47,7 @@ exports.mkOnMessage = function mkOnMessage(nothing){
47
return function(cb){
48
return function(){
49
cp.on("message", function(mess, sendHandle){
50
- cb(mess, sendHandle ? just(sendHandle) : nothing);
+ cb(mess, sendHandle ? just(sendHandle) : nothing)();
51
});
52
};
53
0 commit comments