finished .peerCall(..)...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-03-03 17:13:45 +03:00
parent 034121a105
commit d726d8d2a6

View File

@ -338,11 +338,11 @@ var ChildProcessPeerActions = actions.Actions({
// ...this would be useful to 100% match the action api and
// make the thing transparent...
// XXX prop access???
// XXX test...
peerCall: ['- Peer/',
makeProtocolHandler('child', function(id, action){
return new Promise((function(resolve, reject){
// XXX
}).bind(this))
var args = [].slice.call(arguments, 2)
return this.peerApply(ig, action, args)
})],
peerApply: ['- Peer/',
makeProtocolHandler('child', function(id, action, args){