Created
September 24, 2018 02:01
-
-
Save cataska/eaf9247f90c1204cece8d0f62a7dd497 to your computer and use it in GitHub Desktop.
This file contains 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 ch (chan)) ;; ==> Create channel | |
(take! ch #(println "Got a value:" %)) | |
;; => Take value from channel, Asynchronously | |
(put! ch 42) ;; => Asynchronously put value from channel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment