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: 13 November, 2024