Fork me on GitHub
#core-async
<
2018-12-02
>
caleb.macdonaldblack05:12:46

Would it be better to return a channel from a function or pass one in?

Alex Miller (Clojure team)15:12:20

imo always better to (maybe optionally) accept a channel rather than control construction

Alex Miller (Clojure team)15:12:42

that gives callers an opportunity to compose your function, build their own channels with custom buffers, etc