Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AbortController

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

interface AbortController {
readonly signal: AbortSignal;
abort(reason?: any): void;
}
var AbortController: {
prototype: AbortController;
new (): AbortController;
}
;

§Properties

§
readonly signal: AbortSignal
[src]

Returns the AbortSignal object associated with this object.

§Methods

§
abort(reason?: any): void
[src]

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.