Liking cljdoc? Tell your friends :D
ClojureScript only.

web.AbortController

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

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

abortcljs

(abort this)

Method.

[Experimental]

The abort() method of the web.AbortController interface aborts DOM request (e.g. a Fetch request) before it has completed. This able to abort fetch requests, consumption of any response web.fetch.Body, streams.

controller.abort();

See also: https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort

Method.

[Experimental]

The abort() method of the `web.AbortController` interface aborts
DOM request (e.g. a Fetch request) before it has completed. This
able to abort fetch requests, consumption of any response `web.fetch.Body`,
streams.

`controller.abort();`

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

constructorcljs

(constructor & args)

Constructor.

The AbortController() constructor creates a new AbortController object instance.

None.

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

Constructor.

The AbortController() constructor creates a new AbortController object instance.

None.

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

signalcljs

(signal this)

Property.

[Read Only] [Experimental]

The signal read-only property of the web.AbortController interface an web.AbortSignal object instance, which can be used to communicate a DOM request as desired.

var signal = abortController.signal;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AbortController/signal

Property.

[Read Only]
[Experimental]

The signal read-only property of the `web.AbortController` interface
an `web.AbortSignal` object instance, which can be used to communicate
a DOM request as desired.

`var signal = abortController.signal;`

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

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

× close