| macro | since v1.12.145 | Edit |
(await expr)Same as the JavaScript await operator, which must be used inside an ^:async function.
(core/defmacro await [expr]
(core/assert (:async &env) "await can only be used in async contexts")
(core/list 'js* "(await ~{})" expr))