6 ms·
Seems like wrapping async await functions with CSP was a better way to handle this . Clojure already had a nicer pattern for this
by nbardy 4mo ago
Seems like wrapping async await functions with CSP was a better way to handle this . Clojure already had a nicer pattern for this
- midnight_eclair 4mo agothis release is about exposing the host language primitives to clojurescript core.async isn't going anywhere, if async/await works better than promise based implementation, core.async will get an update in it's .cljs parts
- embedding-shape 4mo agoYou're still able to do so, as we've been able to in ClojureScript land for many years already, since ultimately they're just Promises! I don't think that's going away with this new function hints. https://clojurescript.org/guides/promise-interop#using-promises-with-core-async https://clojurescript.org/guides/promise-interop#using-promi...