Liking cljdoc? Tell your friends :D
ClojureScript only.

js.Promise

The Promise object represents the eventual completion (or failure) an asynchronous operation, and its resulting value.

The Promise object represents the eventual completion (or failure)
an asynchronous operation, and its resulting value.
raw docstring

allcljs

(all this iterable)

Method.

The Promise.all() method returns a single js.Promise that resolves all of the promises passed as an iterable have resolved or when iterable contains no promises. It rejects with the reason of first promise that rejects.

Promise.all(iterable);

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all

Method.

The Promise.all() method returns a single `js.Promise` that resolves
all of the promises passed as an iterable have resolved or when
iterable contains no promises. It rejects with the reason of
first promise that rejects.

`Promise.all(iterable);`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all`
raw docstring

lengthcljs

(length this)

Property.

Length property whose value is always 1 (number of constructor

Property.

Length property whose value is always 1 (number of constructor
raw docstring

set-length!cljs

(set-length! this val)

Property.

Length property whose value is always 1 (number of constructor

Property.

Length property whose value is always 1 (number of constructor
raw docstring

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

× close