mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
event more notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e19b3e3466
commit
d3baa143ee
@ -203,12 +203,13 @@ var PeerActions = actions.Actions({
|
||||
peerDisconnect: ['- Peer/',
|
||||
function(id){ return new CooperativePromise() }],
|
||||
|
||||
// event...
|
||||
// events...
|
||||
// XXX do proper docs...
|
||||
// XXX do we need these???
|
||||
peerConnected: ['- Peer/',
|
||||
core.notUserCallable(function(id){
|
||||
// XXX
|
||||
})],
|
||||
// event...
|
||||
peerDisconnected: ['- Peer/',
|
||||
core.notUserCallable(function(id){
|
||||
// XXX
|
||||
@ -221,6 +222,7 @@ var PeerActions = actions.Actions({
|
||||
|
||||
peerList: ['- Peer/',
|
||||
function(){ return Object.keys(this.__peers || {}) }],
|
||||
// XXX do we need these???
|
||||
// XXX format spec!!!
|
||||
peerSpec: ['- Peer/',
|
||||
function(id){
|
||||
@ -384,7 +386,7 @@ module.ChildProcessPeer = core.ImageGridFeatures.Feature({
|
||||
// XXX check if we are a child and setup communications with the
|
||||
// parent...
|
||||
// ...checking if child is simple:
|
||||
// process.send != null -> child
|
||||
// process.send != null // -> child
|
||||
['start',
|
||||
function(){
|
||||
var that = this
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user