Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/lib.dom.ts>AbortController

💧EventEmitter's typesafe replacement
Go to Latest
interface AbortController
import { type AbortController } from "https://deno.land/x/evt@v2.5.3/lib/types/lib.dom.ts";

A controller object that allows you to abort one or more DOM requests as and when desired.

Properties

readonly
signal: AbortSignal

Returns the AbortSignal object associated with this object.

Methods

abort(): void

Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.