Editor.Ipc

Methods

Editor.Ipc.cancelRequest (sessionID)

Cancel request sent to main or renderer process.

Editor.Ipc.option (opts)

Ipc option used in Editor.Ipc.sendToAll.

Editor.Ipc.sendToAll (message[, ...args, option])

Send message with ...args to all opened window and to main process asynchronously.

Editor.Ipc.sendToMain (message[, ...args, callback, timeout])

Send message with ...args to main process asynchronously. It is possible to add a callback as the last or the 2nd last argument to receive replies from the IPC receiver.

Editor.Ipc.sendToMainSync (message[, ...args])

Send message with ...args to main process synchronized and return a result which is responded from main process.

Editor.Ipc.sendToMainWin (message[, ...args])

Send message with ...args to the main window asynchronously.

Editor.Ipc.sendToPackage (pkgName, message[, ...args])

Send message with ...args to main process by package name and the short name of the message.

Editor.Ipc.sendToPanel (panelID, message[, ...args, callback, timeout])

Send message with ...args to panel defined in renderer process asynchronously. It is possible to add a callback as the last or the 2nd last argument to receive replies from the IPC receiver.

Editor.Ipc.sendToWins (message[, ...args, option])

Send message with ...args to all opened windows asynchronously. The renderer process can handle it by listening to the message through the Electron.ipcRenderer module.