mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
more notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e0eb20f29b
commit
e19b3e3466
@ -314,6 +314,8 @@ var ChildProcessPeerActions = actions.Actions({
|
||||
resolve(id)
|
||||
}).bind(this))
|
||||
})],
|
||||
// XXX should this call .stop() on the child???
|
||||
// ...does the child handle kill gracefully???
|
||||
peerDisconnect: ['- Peer/',
|
||||
makeProtocolHandler('child', function(id){
|
||||
return new Promise((function(resolve, reject){
|
||||
@ -330,6 +332,10 @@ var ChildProcessPeerActions = actions.Actions({
|
||||
}).bind(this))
|
||||
})],
|
||||
|
||||
// XXX can we do sync???
|
||||
// ...this would be useful to 100% match the action api and
|
||||
// make the thing transparent...
|
||||
// XXX can we do prop access???
|
||||
peerCall: ['- Peer/',
|
||||
makeProtocolHandler('child', function(id, action){
|
||||
return new Promise((function(resolve, reject){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user