mirror of
https://github.com/electron/electron.git
synced 2026-01-09 23:48:01 -05:00
docs: fix typo in api/ipc-renderer (#24901)
This commit is contained in:
@@ -108,7 +108,7 @@ ipcMain.handle('some-name', async (event, someArgument) => {
|
|||||||
|
|
||||||
If you need to transfer a [`MessagePort`][] to the main process, use [`ipcRenderer.postMessage`](#ipcrendererpostmessagechannel-message-transfer).
|
If you need to transfer a [`MessagePort`][] to the main process, use [`ipcRenderer.postMessage`](#ipcrendererpostmessagechannel-message-transfer).
|
||||||
|
|
||||||
If you do not need a respons to the message, consider using [`ipcRenderer.send`](#ipcrenderersendchannel-args).
|
If you do not need a response to the message, consider using [`ipcRenderer.send`](#ipcrenderersendchannel-args).
|
||||||
|
|
||||||
### `ipcRenderer.sendSync(channel, ...args)`
|
### `ipcRenderer.sendSync(channel, ...args)`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user