Re:Kaboom – JavaScript game programming library and environment
by zzbzq on Tuesday April 13, 2021 @09:17AM
(#26791734)
'Async' here refers not only to the keyword but also to what is achieved, in classic javascript, through callback functions
[ Parent
| on HN ]
Re:Kaboom – JavaScript game programming library and environment
by z3t4 on Tuesday April 13, 2021 @09:31AM
(#26791878)
Even though there is the async keyword and Promise() there are no async functions nor callbacks in JavaScript itself. For example setInterval and setTimeout is not part of the language and needs to be implemented by the runtime/program that runs the JavaScript.