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 IpcHost.addListener
listener IpcListener The function passed to IpcHost.addListener

Returns - void

Defined in

Last Updated: 12 June, 2024