Liking cljdoc? Tell your friends :D

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.

The aborted read-only property returns a web.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.

The aborted read-only property returns a `web.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.

The onabort read-only property of the web.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.

The onabort read-only property of the `web.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

set-aborted!cljs

(set-aborted! this val)

Property.

The aborted read-only property returns a web.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.

The aborted read-only property returns a `web.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

set-onabort!cljs

(set-onabort! this val)

Property.

The onabort read-only property of the web.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.

The onabort read-only property of the `web.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