A tiny macro library for clojure.core.async/go.
(require '[clojure.core.async :refer :all])
(require '[gogo.core :refer :all])
;; a silly example
(go-let [c (chan)] (go (>! c "foo")) (prn (<! c)))
;; another silly example
(def c (chan))
(go-while true (>! c "foo"))
(<!! c)
Copyright © 2013 Max Countryman
Distributed under the BSD License.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |