feat: add ipcRenderer.invoke() (#18449)
This commit is contained in:
parent
b180fb376c
commit
c436997840
17 changed files with 389 additions and 20 deletions
|
@ -5,4 +5,3 @@
|
|||
* `sender` WebContents - Returns the `webContents` that sent the message
|
||||
* `reply` Function - A function that will send an IPC message to the renderer frame that sent the original message that you are currently handling. You should use this method to "reply" to the sent message in order to guaruntee the reply will go to the correct process and frame.
|
||||
* `...args` any[]
|
||||
IpcRenderer
|
||||
|
|
4
docs/api/structures/ipc-main-invoke-event.md
Normal file
4
docs/api/structures/ipc-main-invoke-event.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# IpcMainInvokeEvent Object extends `Event`
|
||||
|
||||
* `frameId` Integer - The ID of the renderer frame that sent this message
|
||||
* `sender` WebContents - Returns the `webContents` that sent the message
|
Loading…
Add table
Add a link
Reference in a new issue