Comment on ClojureScript Gets Async/AwaitComments−nbardy4moSeems like wrapping async await functions with CSP was a better way to handle this . Clojure already had a nicer pattern for this−midnight_eclair4mothis release is about exposing the host language primitives to clojurescriptcore.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-shape4moYou'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...
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...