Skip to main content
MessagePort.removeEventListener - Messaging - Web documentation
method MessagePort.removeEventListener
Private
MessagePort.removeEventListener<K extends keyof MessagePortEventMap>(
type: K,
listener: () => any,
options?: boolean | EventListenerOptions,
): void

Type Parameters

K extends keyof MessagePortEventMap

Parameters

type: K
listener: () => any
optional
options: boolean | EventListenerOptions

Return Type

void
MessagePort.removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void

Parameters

type: string
optional
options: boolean | EventListenerOptions

Return Type

void