Skip to content

Instantly share code, notes, and snippets.

@zane
Created October 1, 2013 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zane/d3f1d0ca66dabcab70f4 to your computer and use it in GitHub Desktop.
Save zane/d3f1d0ca66dabcab70f4 to your computer and use it in GitHub Desktop.
(ns attention-minutes.attention-minutes
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs.core.async :refer [chan alts! <! >!]]))
(let [c (chan)]
(go (>! c "Hello, world!"))
(.log js/console (go (<! c))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment