Skip to content

Comment on ClojureScript Gets Async/Await

Comments

Seems like wrapping async await functions with CSP was a better way to handle this . Clojure already had a nicer pattern for this

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...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.