Created
August 10, 2016 09:48
-
-
Save yenda/2ba5c2d9d3f588e4b08e157edb8ccfa8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def c1 (chan)) | |
(def c2 (chan)) | |
(def xf (map #(repeat 3 %))) | |
(a/pipeline 4 c2 xf c1) | |
(a/put! c1 {:name "hello"}) | |
(<!! c2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment