Liking cljdoc? Tell your friends :D

sci.async


awaitcljs

(await promise)

Mark promise to be flatteded into top level async evaluation, similar to top level await.

Mark promise to be flatteded into top level async evaluation, similar
to top level await.
sourceraw docstring

await?cljs

(await? promise)

Check if promise was marked with await.

Check if promise was marked with `await`.
sourceraw docstring

eval-string*cljs

(eval-string* ctx s)
source

eval-string+cljs

(eval-string+ ctx s)
(eval-string+ ctx s opts)

Same as eval-string* but returns map with :val, the evaluation result, and :ns, the last active namespace. The return value can be passed back into opts to preserve the namespace state.

Same as eval-string* but returns map with `:val`, the evaluation
result, and `:ns`, the last active namespace. The return value can
be passed back into `opts` to preserve the namespace state.
sourceraw docstring

requirecljs

Async require that can be substituted for sync require by {:namespaces {'clojure.core {'require scia/require}}}

Async require that can be substituted for sync require by
`{:namespaces {'clojure.core {'require scia/require}}}`
sourceraw docstring

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

× close