HeadlinesBriefing favicon HeadlinesBriefing.com

ClojureScript Adds Native Async Support

Hacker News •
×

The ClojureScript Team has released version 1.12.145, introducing native async function support through the ^:async hint. This enhancement allows ClojureScript to emit JavaScript async functions when targeting ECMAScript 2016, addressing a top request from the last Clojure survey.

Developers can now use the ^:async decorator on functions and tests, simplifying interactions with modern Browser APIs and popular libraries. The implementation leverages JavaScript's native Promise support, eliminating the need for additional dependencies in common async scenarios.

Community contributions drove this significant improvement to the language's JavaScript interop capabilities. The release represents a practical enhancement rather than an experimental feature, directly addressing developer needs for seamless async operations in ClojureScript applications.