W3cubDocs

/Haxe JavaScript

AbortController

package js.html

Available on js

The AbortController interface represents a controller object that allows you to abort one or more DOM requests as and when desired.

Documentation AbortController by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Constructor

new()

Throws:

null

DOMError

Variables

read onlysignal:AbortSignal

Returns a AbortSignal object instance, which can be used to communicate with/abort a DOM request.

Methods

abort():Void

Aborts a DOM request before it has completed. This is able to abort fetch requests, consumption of any response Body, and streams.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/AbortController.html