mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +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/',
|
peerDisconnect: ['- Peer/',
|
||||||
function(id){ return new CooperativePromise() }],
|
function(id){ return new CooperativePromise() }],
|
||||||
|
|
||||||
// event...
|
// events...
|
||||||
|
// XXX do proper docs...
|
||||||
|
// XXX do we need these???
|
||||||
peerConnected: ['- Peer/',
|
peerConnected: ['- Peer/',
|
||||||
core.notUserCallable(function(id){
|
core.notUserCallable(function(id){
|
||||||
// XXX
|
// XXX
|
||||||
})],
|
})],
|
||||||
// event...
|
|
||||||
peerDisconnected: ['- Peer/',
|
peerDisconnected: ['- Peer/',
|
||||||
core.notUserCallable(function(id){
|
core.notUserCallable(function(id){
|
||||||
// XXX
|
// XXX
|
||||||
@ -221,6 +222,7 @@ var PeerActions = actions.Actions({
|
|||||||
|
|
||||||
peerList: ['- Peer/',
|
peerList: ['- Peer/',
|
||||||
function(){ return Object.keys(this.__peers || {}) }],
|
function(){ return Object.keys(this.__peers || {}) }],
|
||||||
|
// XXX do we need these???
|
||||||
// XXX format spec!!!
|
// XXX format spec!!!
|
||||||
peerSpec: ['- Peer/',
|
peerSpec: ['- Peer/',
|
||||||
function(id){
|
function(id){
|
||||||
@ -384,7 +386,7 @@ module.ChildProcessPeer = core.ImageGridFeatures.Feature({
|
|||||||
// XXX check if we are a child and setup communications with the
|
// XXX check if we are a child and setup communications with the
|
||||||
// parent...
|
// parent...
|
||||||
// ...checking if child is simple:
|
// ...checking if child is simple:
|
||||||
// process.send != null -> child
|
// process.send != null // -> child
|
||||||
['start',
|
['start',
|
||||||
function(){
|
function(){
|
||||||
var that = this
|
var that = this
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user