This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-24
Channels
- # boot (183)
- # business (3)
- # clojure (65)
- # clojure-argentina (1)
- # clojure-china (1)
- # clojure-conj (2)
- # clojure-japan (2)
- # clojure-russia (5)
- # clojure-ukraine (5)
- # clojurescript (139)
- # community-development (1)
- # core-async (8)
- # core-matrix (1)
- # cursive (7)
- # datomic (2)
- # events (4)
- # hoplon (108)
- # ldnproclodo (1)
- # lein-figwheel (1)
- # liberator (1)
- # off-topic (76)
- # om (37)
- # onyx (12)
- # overtone (1)
- # testing (8)
Well that's not going to work out
As the 0.2.x release is imminent pending some testing
I'm fine with the ns change but would defer to David and Rich on a final decision and timing
Hey peeps. I'm kind of stuck doing a Reagent application with a little bit of core async mixe in. I create a channel in my namespace using (def input-buffer (chan 1)), then, :onclick for a button, I do #(let [input-char (-> (sel1 ".char-input") .-value)] (go (>! input-buffer input-char))) , and then, inside a loop scope, I do (assoc cells cell-pointer (int (go <! (go (<! input-chan)))))
But I can't get it to work - the return value from reading the chan is ignored it seems.
I do the "go <!" part twice because I read that the first <! just returns a chan, and not the value on the chan
Doing it just once does not work either
Sorry, that's just inside a function body, not a loop - the point is I want to return a value, and I can't figure out how to get it out of the go block 😕