Fork me on GitHub
#core-async
<
2017-09-21
>
hlolli11:09:59

not sure if connected to cljs.core.async, but strange

----  Could not Analyze  resources/public/out/cljs/core/async/impl/ioc_helpers.cljs  ----
java.lang.OutOfMemoryError: Metaspace, compiling:(cljs/core/async/impl/ioc_macros.clj:499:1)

hlolli11:09:25

no my fault 🙂 had set jvm MaxMetaspaceSize in the project.clj

cgrand13:09:33

Fun one:

(let [closed (doto (a/chan) a/close!)
      open (a/chan)]
  (a/go-loop []
    (a/alts! [open [closed true]] :priority true)
    (recur)))
throws an exception

Avichal19:09:22

Hello, Can someone suggest some open source codebases that use core.async. I want to read some code and understand common usage patterns/idioms. Thanks.

Alex Miller (Clojure team)20:09:42

Here’s crossclj users of chan - should take you to some oss uses of core.async: https://crossclj.info/fun/clojure.core.async/chan.html