mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30: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
|
// ...this would be useful to 100% match the action api and
|
||||||
// make the thing transparent...
|
// make the thing transparent...
|
||||||
// XXX prop access???
|
// XXX prop access???
|
||||||
|
// XXX test...
|
||||||
peerCall: ['- Peer/',
|
peerCall: ['- Peer/',
|
||||||
makeProtocolHandler('child', function(id, action){
|
makeProtocolHandler('child', function(id, action){
|
||||||
return new Promise((function(resolve, reject){
|
var args = [].slice.call(arguments, 2)
|
||||||
// XXX
|
return this.peerApply(ig, action, args)
|
||||||
}).bind(this))
|
|
||||||
})],
|
})],
|
||||||
peerApply: ['- Peer/',
|
peerApply: ['- Peer/',
|
||||||
makeProtocolHandler('child', function(id, action, args){
|
makeProtocolHandler('child', function(id, action, args){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user