removeListener MethodStatic
Remove a previously registered listener
removeListener(channel: string, listener: IpcListener): void
Parameter | Type | Description |
---|---|---|
channel | string | The name of the channel for the listener previously registered with addListener |
listener | IpcListener | The function passed to addListener |
Returns - void
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.