mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
Fixing typo
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user