feat: make ipc-message
and ipc-message-sync
events public (#16468)
This commit is contained in:
parent
dbc5f67dca
commit
6cba2c50a2
7 changed files with 82 additions and 26 deletions
|
@ -673,6 +673,26 @@ Returns:
|
|||
|
||||
Emitted when the preload script `preloadPath` throws an unhandled exception `error`.
|
||||
|
||||
#### Event: 'ipc-message'
|
||||
|
||||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `channel` String
|
||||
* `...args` any[]
|
||||
|
||||
Emitted when the renderer process sends an asynchronous message via `ipcRenderer.send()`.
|
||||
|
||||
#### Event: 'ipc-message-sync'
|
||||
|
||||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `channel` String
|
||||
* `...args` any[]
|
||||
|
||||
Emitted when the renderer process sends a synchronous message via `ipcRenderer.sendSync()`.
|
||||
|
||||
#### Event: 'desktop-capturer-get-sources'
|
||||
|
||||
Returns:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue