(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.
(await? promise)
Check if promise was marked with await
.
Check if promise was marked with `await`.
(eval-form ctx form)
Eval single form in ctx.
Eval single form in ctx.
(eval-form+ ctx s)
(eval-form+ ctx form opts)
Eval single form in ctx, return map of :val
and :ns
.
Eval single form in ctx, return map of `:val` and `:ns`.
(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.
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}}}`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close