mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
finished .peerCall(..)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
034121a105
commit
d726d8d2a6
@ -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){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user