Hacker News new | ask | show | jobs
by nbardy 34 days ago
Seems like wrapping async await functions with CSP was a better way to handle this . Clojure already had a nicer pattern for this
2 comments

this 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

You'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-promi...