interface AbortSignal
implements EventTarget
import { type AbortSignal } from "https://deno.land/x/deno@v0.28.0/cli/js/dom_types.ts";
Properties
onabort: ((this: AbortSignal, ev: ProgressEvent) => any) | null
Methods
addEventListener<K extends keyof AbortSignalEventMap>(): void
type: K,
listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof AbortSignalEventMap>(): void
type: K,
listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any,
options?: boolean | EventListenerOptions,