Fork me on GitHub
#core-async
<
2018-01-29
>
jgdavey16:01:10

Does a chan’s buffer apply before or after a transducer? for example, if i have a partition-all transducer with a size of 10 and i have a buffer of 100 on a chan, does that mean it will buffer up 100 items before they go into the transducer, or that the items will go directly into the transducer and it will (potentially) have 100 chunks buffered on the chan?

Alex Miller (Clojure team)17:01:45

iirc the transducer is applied when adding to the buffer, so would be 100 chunks

jgdavey17:01:13

Okay, thanks