Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.3.0/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.