Add ipc.sendSync in renderer.
This commit is contained in:
parent
8f0b2b6363
commit
1b87a31940
10 changed files with 132 additions and 4 deletions
|
@ -5,6 +5,8 @@ class Ipc extends EventEmitter
|
|||
constructor: ->
|
||||
process.on 'ATOM_INTERNAL_MESSAGE', (args...) =>
|
||||
@emit(args...)
|
||||
process.on 'ATOM_INTERNAL_MESSAGE_SYNC', (args...) =>
|
||||
@emit(args...)
|
||||
|
||||
send: (process_id, routing_id, args...) ->
|
||||
@sendChannel(process_id, routing_id, 'message', args...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue