Skip to main content

removeEventListener

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

Type Parameters Jump to heading

Parameters Jump to heading

Jump to headinglistener: (
this: Worker,
) => any
optional
Jump to headingoptions: boolean | EventListenerOptions

Return Type Jump to heading

void
Jump to headingWorker.removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
Back to top