FRONTEND·중요도 7·2026. 05. 09.

ClojureScript에 Async/Await 도입

── KO ──────────────────

ClojureScript 1.12.145에서 async/await 기능이 도입되었습니다.

ClojureScript 1.12.145 버전에서 새로운 기능으로 async/await가 도입되었습니다. 이제 `^:async` 힌트를 사용하여 정의된 함수는 JavaScript의 async function으로 컴파일됩니다. 이를 통해 Promise 값을 대기하는 ClojureScript 함수 작성이 가능해져 JavaScript와의 상호운용성이 개선됩니다.


── EN ──────────────────

Async/await is introduced in ClojureScript 1.12.145.

In version 1.12.145 of ClojureScript, the async/await feature has been introduced. The compiler now generates JavaScript async functions for functions marked with the `^:async` hint. This allows for the creation of ClojureScript functions that can await Promise values, thereby enhancing interoperability with JavaScript.

원문 보기 →목록으로