cloroutine icon indicating copy to clipboard operation
cloroutine copied to clipboard

Coroutine support for clojure

Results 12 cloroutine issues
Sort by recently updated
recently updated
newest added

![deps](https://user-images.githubusercontent.com/198857/162639893-eb5e53a1-9c12-46b7-b927-5ea3a1bc006a.png) Dependency graph on a fairly minimal app that uses Missionary + Clojure 1.11.1 ^ In recent versions of Clojure they've introduced a few new functions such as `update-vals` these...

impl.cljc requires `cljs.analyzer` and `cljs.env` for cljs macros. To avoid this problem, one approach would be: - split up impl.cljc so that it provides an impl_clj and impl_cljs entrypoint namespace...

I've been playing around with the `cr` macro looking to create a js-like syntax for async/await https://github.com/leonoel/cloroutine/blob/master/doc/02-async-await.md There's a couple of issues I'm having with the example. One is that...

Given the code example, this gives a warning: ```clojure (require '[cloroutine.core :refer [cr]]) (import '(java.util.concurrent CompletableFuture)) (def ^:dynamic *fiber*) (def ^:dynamic *value*) (def ^:dynamic *error*) (defn await [cf] (.whenComplete ^CompletableFuture...

I've been trying to debug coroutines with [hashp](https://github.com/weavejester/hashp) and I've got an exception. Cloroutine doesn't handle [locking](https://github.com/weavejester/hashp/blob/master/src/hashp/core.clj#L37) form. I use latest version of cloroutine. I think cloroutine should have fake...

bug

Hi! I don't find your email. So, I'm writing here. I develop a [library for (side) effects](https://github.com/darkleaf/effect) on top of cloroutine. Documentation is absent but it have [good tests](https://github.com/darkleaf/effect/blob/master/test/darkleaf/effect/core_test.cljc). It...

use case

Hi! Hopefully this is related to the previous issue, but it might help to have more info/examples. Using tufte's profile in an async block results in the following warning: `Wrong...

Hi! When specter's setval is called within an async block the following warning appears: ``` ------ WARNING #1 - :redef-in-file --------------------------------------------- File: /tmp/naked/src/naked/core.cljs:11:22 -------------------------------------------------------------------------------- 8 | (defn start [] 9...

Leo said: "it may be a cloroutine bug, move .readLine in a wrapper function" ``` #?(:clj (defn readerReadLine [r] (.readLine r))) #?(:clj (defn file-stream [uri] (m/ap (with-open [r (clojure.java.io/reader uri)]...