Liking cljdoc? Tell your friends :D

danger-mouse.transducers


carry-errors-xfclj

(carry-errors-xf xf)

Propogates errors as errors, and otherwise applies the marked transducer xf.

Propogates errors as errors, and otherwise applies the marked transducer `xf`.
sourceraw docstring

chainclj

(chain & xfs)

Takes a splat of transducers xfs and wraps them to carry errors forward and otherwise act on values as normal. As no grouping is necessary, this can be used on arbitrary collections, including streams and infinite lists.

Takes a splat of transducers `xfs` and wraps them to carry errors forward and
otherwise act on values as normal. As no grouping is necessary, this can be used
on arbitrary collections, including streams and infinite lists.
sourceraw docstring

collectclj

(collect & xfs)

Takes a splat of transducers xfs. Any errors encountered will be thrown into a side channel errors and returned as part of a GroupedResults. Blocks until transduction is complete, so not appropriate for streaming.

Takes a splat of transducers `xfs`. Any errors encountered will be thrown
into a side channel `errors` and returned as part of a `GroupedResults`.
Blocks until transduction is complete, so not appropriate for streaming.
sourceraw docstring

contain-errors-xfclj

Like danger-mouse.catch-errors#catch-errors, but instead of collecting errors as it goes, presents them in danger-mouse error format for later handling. If further transducers are used, chain should be used to compose them.

Like `danger-mouse.catch-errors#catch-errors`, but instead of collecting errors as it goes,
presents them in `danger-mouse` error format for later handling.
If further transducers are used, `chain` should be used to compose them.
sourceraw docstring

handle-and-continue-xfclj

(handle-and-continue-xf handler xf)

Tranducer transformer that takes an existing transducer xf, and applies it to unmarked values while using handler to deal with and remove errored values.

Tranducer transformer that takes an existing transducer `xf`, and applies it to
unmarked values while using `handler` to deal with and remove errored values.
sourceraw docstring

handle-errors-xfclj

(handle-errors-xf handler)

Handle errors as part of the transduction process via handler, removing them from later stages.

Handle errors as part of the transduction process via `handler`, removing them
from later stages.
sourceraw docstring

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

× close