Merge pull request #4378 from markisadesignerd/ipc-renderer-doc-typo
📝 Fixing typo in ipc-renderer
This commit is contained in:
commit
18631df88b
1 changed files with 2 additions and 2 deletions
|
@ -37,9 +37,9 @@ channel.
|
|||
|
||||
This removes *all* handlers to this ipc channel.
|
||||
|
||||
### `ipcMain.once(channel, callback)`
|
||||
### `ipcRenderer.once(channel, callback)`
|
||||
|
||||
Use this in place of `ipcMain.on()` to fire handlers meant to occur only once,
|
||||
Use this in place of `ipcRenderer.on()` to fire handlers meant to occur only once,
|
||||
as in, they won't be activated after one call of `callback`
|
||||
|
||||
## Sending Messages
|
||||
|
|
Loading…
Reference in a new issue