import { type dom } from "https://deno.land/x/evt@v2.4.17/lib/index.ts";
const { AbstractWorker } = dom;
Properties
onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null
Methods
addEventListener<K extends keyof AbstractWorkerEventMap>(): void
type: K,
listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof AbstractWorkerEventMap>(): void
type: K,
listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any,
options?: boolean | EventListenerOptions,