Liking cljdoc? Tell your friends :D

fluree.db.util.async


<?clj/smacro

(<? ch)

Like <! but throws errors.

Like <! but throws errors.
raw docstring

<??clj/smacro

(<?? ch)

Like <!! but throws errors. Only works for Java platform - no JavaScript.

Like <!! but throws errors. Only works for Java platform - no JavaScript.
raw docstring

channel?clj/s

(channel? x)

Returns true if core async channel.

Returns true if core async channel.
raw docstring

cljs-env?clj

(cljs-env? env)

Take the &env from a macro, and tell whether we are expanding into cljs.

Take the &env from a macro, and tell whether we are expanding into cljs.
raw docstring

go-tryclj/smacro

(go-try & body)

Like go but catches the first thrown error and returns it.

Like go but catches the first thrown error and returns it.
raw docstring

if-cljsclj/smacro

(if-cljs then else)

Return then if we are generating cljs code and else for Clojure code. https://groups.google.com/d/msg/clojurescript/iBY5HaQda4A/w1lAQi9_AwsJ

Return then if we are generating cljs code and else for Clojure code.
https://groups.google.com/d/msg/clojurescript/iBY5HaQda4A/w1lAQi9_AwsJ
raw docstring

into?clj/s

(into? coll chan)

Like async/into, but checks each item for an error response and returns exception onto the response channel insted of results if thee is one.

Like async/into, but checks each item for an error response and returns exception
onto the response channel insted of results if thee is one.
raw docstring

merge-into?clj/s

(merge-into? coll chs)

Takes a sequence of single-value chans and returns the conjoined into collection. Realizes entire channel sequence first, and if an error value exists returns just the exception.

Takes a sequence of single-value chans and returns the conjoined into collection.
Realizes entire channel sequence first, and if an error value exists returns just the exception.
raw docstring

throw-errclj/s

(throw-err e)

throw-if-exceptionclj/s

(throw-if-exception x)

Helper method that checks if x is Exception and if yes, wraps it in a new exception, passing though ex-data if any, and throws it. The wrapping is done to maintain a full stack trace when jumping between multiple contexts.

Helper method that checks if x is Exception and if yes, wraps it in a new
exception, passing though ex-data if any, and throws it. The wrapping is done
to maintain a full stack trace when jumping between multiple contexts.
raw docstring

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

× close