MremoveEventListener
Bun

method

worker_threads.MessagePort.removeEventListener

type: K,
listener: (ev: MessagePortEventMap[K]) => void,
options?: boolean | EventListenerOptions
): void;

Removes the event listener in target's event listener list with the same type, callback, and options.

MDN Reference

type: string,
options?: boolean | EventListenerOptions
): void;

Removes the event listener in target's event listener list with the same type, callback, and options.

MDN Reference

Referenced types

interface EventListener

interface EventListenerObject