Worker.removeEventListener - Web documentation
method Worker.removeEventListener
Worker.removeEventListener<K extends keyof WorkerEventMap>(
type: K,
listener: (
this: Worker,
) => any
,
options?: boolean | EventListenerOptions,
): void

Type Parameters

K extends keyof WorkerEventMap

Parameters

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

Return Type

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

Parameters

type: string
optional
options: boolean | EventListenerOptions

Return Type

void