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

x/xdg/vendor/types/deno.d.ts>AbortController

Determine XDG Base Directory paths (OS/platform portable)
Go to Latest
class AbortController
import { AbortController } from "https://deno.land/x/xdg@v10.5.1/vendor/types/deno.d.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.