tc39/proposal-top-level-await
View on GitHub ↗ ★ 1,081 HTML archived
top-level `await` proposal for ECMAScript (stage 4)
7 mentions on Hacker News by 7 people: 2 stories, 5 comments · first 2019-06-06 · latest 2021-02-16
20082026
-
…convenient than something.then() . [1] https://developer.mozilla.org/en-US/docs/Glossary/IIFE [2] https://github.com/tc39/proposal-top-level-await/blob/HEAD/R...
comment by ratww · 2021-02-16 · in Why Is Esbuild Fast? -
Top level await is at stage 3: https://github.com/tc39/proposal-top-level-await Its in Typescript 3.8, Node 14.8 and probably in your Babel setup. I probably wont get to use Node 14 in prod for a while but I get by with a `main` function…
comment by richeyryan · 2020-12-10 · in Deno 1.6 supports compiling TypeScript to a single executable -
…yet. In other words, your complaints have disappeared in node, and will soon in browsers: https://github.com/tc39/proposal-top-level-await So yes: set(await get())
comment by nailer · 2020-12-09 · in A Modern JavaScript Tutorial -
…blockers coming from actual implementation experience this will most likely be ratified. [1]: https://github.com/tc39/proposal-top-level-await [2]: https://tc39.es/process-document/
comment by mstade · 2019-09-24 · in V8 adds support for top-level await -
…was linked: https://tc39.es/proposal-top-level-await/#sec-execute-async-... It's a Stage 3 proposal https://github.com/tc39/proposal-top-level-await
comment by paulddraper · 2019-09-24 · in V8 adds support for top-level await