Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-10 | Fix 100% CPU idling problem by reverting #7672 (#7911) | Ryan Dahl | |
* Revert "refactor: Worker is not a Future (#7895)" This reverts commit f4357f0ff9d39411f22504fcc20db6bd5dec6ddb. * Revert "refactor(core): JsRuntime is not a Future (#7855)" This reverts commit d8879feb8c832dbb38649551b1cb0730874f7be6. * Revert "fix(core): module execution with top level await (#7672)" This reverts commit c7c767782538243ded64742dca9b34d6af74d62d. | |||
2020-10-06 | fix(core): module execution with top level await (#7672) | Bartek IwaĆczuk | |
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. |