Liking cljdoc? Tell your friends :D
ClojureScript only.

web.AbortSignal

The AbortSignal interface represents a signal object that allows to communicate with a DOM request (such as a Fetch) and abort if required via an web.AbortController object.

The AbortSignal interface represents a signal object that allows
to communicate with a DOM request (such as a Fetch) and abort
if required via an `web.AbortController` object.
raw docstring

abortedcljs

(aborted this)

Property.

[Read Only] [Experimental]

The aborted read-only property returns a js.Boolean that indicates the DOM request(s) the signal is communicating with is/are aborted or not (false).

var isAborted = abortSignal.aborted;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/aborted

Property.

[Read Only]
[Experimental]

The aborted read-only property returns a `js.Boolean` that indicates
the DOM request(s) the signal is communicating with is/are aborted
or not (false).

`var isAborted = abortSignal.aborted;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/aborted`
sourceraw docstring

onabortcljs

(onabort this)

Property.

[Read Only] [Experimental]

The onabort read-only property of the FetchSignal interface an event handler Invoked when an abort event fires, i.e. when fetch request(s) the signal is communicating with is/are aborted.

abortSignal.onabort = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/onabort

Property.

[Read Only]
[Experimental]

The onabort read-only property of the `FetchSignal` interface
an event handler Invoked when an abort event fires, i.e. when
fetch request(s) the signal is communicating with is/are aborted.

`abortSignal.onabort = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/onabort`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close