Skip to main content
Worker.removeEventListener - Workers - Web documentation
method Worker.removeEventListener
Private
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
Back to top