AbortController class

The interface represents a controller object that allows you to abort one or more Web requests as and when desired. You can create a new object using the AbortController() constructor. Communicating with a DOM request is done using an AbortSignal object.

Implementers
Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

AbortController()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signal AbortSignal

Available on AbortController, provided by the PropsAbortController extension

no setter

Methods

abort([dynamic reason]) → void

Available on AbortController, provided by the PropsAbortController extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited