Skip to main content

Worker

interface Worker
extends EventTarget

Properties Jump to heading

Jump to headingonerror: (
this: Worker,
) => any | null
Jump to headingonmessage: () => any | null
Jump to headingpostMessage(
message: any,
transfer: Transferable[],
): void
Jump to headingaddEventListener<K extends keyof WorkerEventMap>(
type: K,
listener: (
this: Worker,
) => any
,
options?: boolean | AddEventListenerOptions,
): void
Jump to headingremoveEventListener<K extends keyof WorkerEventMap>(
type: K,
listener: (
this: Worker,
) => any
,
options?: boolean | EventListenerOptions,
): void
Back to top