We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(require-macros '[cljs.core.async.macros :refer [go]]) (require '[cljs.core.async :refer [promise-chan chan tap untap timeout mult <! >!]])
(def p-c (promise-chan))
(dotimes [_ 3] (go (println (<! p-c))))
(go (>! p-c 1))
It should print '1' three times. but it only prints one. I think this is due to https://dev.clojure.org/jira/browse/ASYNC-159. It was fixed in the latest version of core-async.
The text was updated successfully, but these errors were encountered:
I opened a pull-request which I hope fixes this: #276
Sorry, something went wrong.
No branches or pull requests
(require-macros '[cljs.core.async.macros :refer [go]])
(require '[cljs.core.async :refer [promise-chan chan tap untap timeout mult <! >!]])
(def p-c (promise-chan))
(dotimes [_ 3] (go (println (<! p-c))))
(go (>! p-c 1))
It should print '1' three times. but it only prints one. I think this is due to https://dev.clojure.org/jira/browse/ASYNC-159. It was fixed in the latest version of core-async.
The text was updated successfully, but these errors were encountered: