Merge pull request #9580 from rajatsingla28/staging
Docs: Remove optional parameter for removeAllListeners.
This commit is contained in:
commit
0d2aa5c027
1 changed files with 2 additions and 2 deletions
|
@ -78,9 +78,9 @@ Removes the specified `listener` from the listener array for the specified
|
||||||
|
|
||||||
### `ipcMain.removeAllListeners([channel])`
|
### `ipcMain.removeAllListeners([channel])`
|
||||||
|
|
||||||
* `channel` String (optional)
|
* `channel` String
|
||||||
|
|
||||||
Removes all listeners, or those of the specified `channel`.
|
Removes listeners of the specified `channel`.
|
||||||
|
|
||||||
## Event object
|
## Event object
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue