Fixing typo
This commit is contained in:
parent
a0792237a0
commit
b9e2806042
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