Documentation

website.async

Promise interop for callbacks, cancellation owners and concurrent acquisition. Sequential tasks can use ClojureScript’s ^:async functions and await.

all

(all pending)

all-settled

(all-settled pending)

catch-error

(catch-error pending recover)

create

(create start!)

deferred

(deferred)

Return a pending promise and its completion functions for an external event.

delay!

(delay! ms)

finally-do

(finally-do pending cleanup!)

race

(race pending)

rejected

(rejected error)

resolved

(resolved value)

then

(then pending success)(then pending success failure)