Fork me on GitHub
#core-async
<
2016-10-01
>
madstap02:10:08

(defmacro forcat
  {:style/indent 1}
  [seq-expr expr]
  `(apply concat (for ~seq-expr ~expr)))

(vec
 (forcat [ch channels]
   (<! (async/into [] ch))))`