I have made one https://github.com/xdenser/node-childWithCallbacks
2012/11/7 Denys Khanzhiyev <[email protected]> > I need a general solution to make calls to child as following > > child.send(message,function(error, data){ > > }); > > and in the child > > parent.on('message',function(message,callback){ > ... > callback(err,data); > }); > > I know I can do it myself by defining my own message wraper with UID and > putting them in pushing them in array on send and poping on receive. > But maybe somebody have done that already ? Can't find any module for that. > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
