It will act exactly like transduce if you put a transducer on the input
channel.
On Wednesday, May 6, 2015 at 12:26:55 PM UTC-4, Pierre-Yves Ritschard wrote:
Hi clojure,
There's a thing I find myself doing often in some of my projects where
I reduce over a core.async channel this way:
Hi clojure,
There's a thing I find myself doing often in some of my projects where
I reduce over a core.async channel this way:
(core.async/reduce update-fn init-state input-channel)
By doing this on a stream of inbound events.
When looking at doing this with transducers, it's a bit unclear how