r/Clojure • u/dustingetz • May 07 '26
CLJS gets async/await! — ClojureScript 1.12.145 release
https://clojurescript.org/news/2026-05-07-release
104
Upvotes
r/Clojure • u/dustingetz • May 07 '26
22
u/dustingetz May 07 '26
Congratulations borkdude!
7
u/c4605 May 07 '26
AMAZING!
7
u/hrrld May 07 '26
Nice, been wanting this for a while, and tracking the development since the conj, very cool. Looking forward to integrating this into some of our cljs lambdas, hopefully shrinking some code and un-indenting some twisty chains of
.thens. (:6
u/pwab May 07 '26
May someone more informed explain why this was so heavily saught after? Can we now do something we couldn’t do before? Is this the kind of feature that will be merged into JVM clj?
4
u/neo2551 May 07 '26
So cool!
4
u/aHackFromJOS May 07 '26
Nice! There are some additional details in the JIRA ticket (e.g. "
awaitis implemented as a macro and throws when:async trueis not present in the env").3
u/ertucetin May 07 '26
Congrats!
2
u/fiddlerwoaroof May 07 '26
I’m a bit surprised they didn’t go with @ for await but this is useful.
-13
u/whamtet May 07 '26
At long last! I long asked for that but because David Nolan and ilk belong to a higher caste they ignored me.