Fork me on GitHub

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