mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -05:00
c7c7677825
This commit fixes implementation of top level await in "deno_core". Previously promise returned from module execution was ignored causing to execute modules out-of-order. With this commit promise returned from module execution is stored on "JsRuntime" and event loop is polled until the promise resolves.
1 line
62 B
Text
1 line
62 B
Text
Module { default: 1, [Symbol(Symbol.toStringTag)]: "Module" }
|