AbortSignal

@native @JSType trait AbortSignal extends StObject

A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.

Companion
object
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

val aborted: Boolean

Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.

Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.