You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pipeline and pipeline-blocking have the same functionality, naming just indicates the performing operation is IO or CPU bound.
(let [c (chan)
out (chan)]
(async/onto-chan c (range10))
;; or async/pipeline
(async/pipeline-blocking5 out (map (fn [x]
(Thread/sleep500)
(inc x))) c)
(<!! (async/into [] out)))