This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-25
Channels
- # aws (1)
- # beginners (6)
- # boot (403)
- # boulder-clojurians (1)
- # clojure (28)
- # clojure-china (1)
- # clojure-ecuador (2)
- # clojure-ukraine (2)
- # clojurescript (27)
- # clojurex (5)
- # core-async (7)
- # cursive (5)
- # datomic (4)
- # hoplon (160)
- # ldnclj (2)
- # ldnproclodo (2)
- # lein-figwheel (2)
- # om (182)
- # onyx (1)
- # re-frame (1)
- # reagent (40)
- # spacemacs (15)
@reefersleep: It’s kind of hard to figure out what you’re trying to do, but in answer to your last question: The only way I know of to “get values out of a go block” in cljs is to update an atom or ref inside the go block.
That being said, my first question is: Why do you want to do that? It’s not something I’ve had to do very often. And usually when I find myself trying to do something that doesn’t seem well-supported in core.async, it’s because I’m missing some simpler way of doing things.
Is it possible to get a count of the number of goroutines running at any given moment?
@exupero: what do you mean when you say ‘running’? Do you mean parked goroutines and running ones, or just Threads running?