(<! ?exp)Like core.async/<! but tests taken val of exception (ExceptionInfo), if so throws it.
Like `core.async/<!` but tests taken val of exception (`ExceptionInfo`), if so throws it.
(<? sync-or-async-exp)Like <! but can handle channels and non channel values.
Like `<!` but can handle channels and non channel values.
(all chs)Alias for (map vector chs) providing an vector of all resolved values.
Alias for `(map vector chs)` providing an vector of all resolved values.
(amap <f & xs)Like clojure.core/map but given function <f is async. Execution of <f with values of xs can be unordered an for clojure (not clojurescript) in parallel. Carries thrown exception (will convert to ExceptionInfo) as result.
Also see smap
Like `clojure.core/map` but given function `<f` is async. Execution of `<f` with values of `xs` can be unordered an for clojure (not clojurescript) in parallel. Carries thrown exception (will convert to `ExceptionInfo`) as result. Also see `smap`
(apostwalk <f form)Like clojure.core/postwalk but given function <f is async. Execution with values of form can be unordered an for clojure (not clojurescript) in parallel. Carries thrown exception (will convert to ExceptionInfo) as result.
Like `clojure.core/postwalk` but given function `<f` is async. Execution with values of `form` can be unordered an for clojure (not clojurescript) in parallel. Carries thrown exception (will convert to `ExceptionInfo`) as result.
(aprewalk <f form)Like clojure.core/prewalk but given function <f is async. Execution with values of form can be unordered an for clojure (not clojurescript) in parallel. Carries thrown exception (will convert to ExceptionInfo) as result.
Like `clojure.core/prewalk` but given function `<f` is async. Execution with values of `form` can be unordered an for clojure (not clojurescript) in parallel. Carries thrown exception (will convert to `ExceptionInfo`) as result.
(areduce <f init coll)Like clojure.core/reduce but given function <f is async. Carries thrown exception (will convert to ExceptionInfo) as result.
Like `clojure.core/reduce` but given function `<f` is async. Carries thrown exception (will convert to `ExceptionInfo`) as result.
(awalk <inner <outer form)Like clojure.core/walk but given function <inner and <outer are async. Execution with values of form can be unordered an for clojure (not clojurescript) in parallel. Carries thrown exception (will convert to ExceptionInfo) as result.
Like `clojure.core/walk` but given function `<inner` and `<outer` are async. Execution with values of `form` can be unordered an for clojure (not clojurescript) in parallel. Carries thrown exception (will convert to `ExceptionInfo`) as result.
(consume! ch f)Consumes channel ch executing function f for every value on channel. Spawns a new thread for execution on the JVM. Execution will be asynchron. Call returns immediately with nil. Thrown exceptions will abort consume.
Consumes channel `ch` executing function `f` for every value on channel. Spawns a new thread for execution on the JVM. Execution will be asynchron. Call returns immediately with `nil`. Thrown exceptions will abort consume.
(go & body)Like core.async/go but carries thrown exception (will convert to ExceptionInfo) as result.
Like `core.async/go` but carries thrown exception (will convert to `ExceptionInfo`) as result.
(go-loop bindings & body)Like core.async/go-loop but carries thrown exception (will convert to ExceptionInfo) as result.
Like `core.async/go-loop` but carries thrown exception (will convert to `ExceptionInfo`) as result.
(into coll ch)Like core.async/into but carries thrown exception (will convert to ExceptionInfo) as result.
Like `core.async/into` but carries thrown exception (will convert to `ExceptionInfo`) as result.
(map f chs)Like core.async/map but carries thrown exception (will convert to ExceptionInfo) as result.
Like `core.async/map` but carries thrown exception (will convert to `ExceptionInfo`) as result.
(reduce f init ch)Like core.async/reduce but carries thrown exception (will convert to ExceptionInfo) as result.
Like `core.async/reduce` but carries thrown exception (will convert to `ExceptionInfo`) as result.
(smap <f & xs)Like clojure.core/map but given function <f is async. Execution of <f with values of xs will be sequential with the given order of xs. Carries thrown exception (will convert to ExceptionInfo) as result.
Also see amap
Like `clojure.core/map` but given function `<f` is async. Execution of `<f` with values of `xs` will be sequential with the given order of `xs`. Carries thrown exception (will convert to `ExceptionInfo`) as result. Also see `amap`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |