MessagePort.removeEventListener<K extends keyof MessagePortEventMap>(type: K,listener: (this: MessagePort,ev: MessagePortEventMap[K],) => any,options?: boolean | EventListenerOptions,): void
K extends keyof MessagePortEventMap
type: K
listener: (this: MessagePort,ev: MessagePortEventMap[K],) => any
optional
options: boolean | EventListenerOptions
MessagePort.removeEventListener(): void
listener: EventListenerOrEventListenerObject
optional
options: boolean | EventListenerOptions