proposal-async-do-expressions
async `do` expressions for JavaScript (by bakkot)
proposal-module-expressions | proposal-async-do-expressions | |
---|---|---|
9 | 4 | |
417 | 106 | |
0.0% | 0.0% | |
0.0 | 2.7 | |
over 1 year ago | over 3 years ago | |
HTML | HTML | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
proposal-module-expressions
Posts with mentions or reviews of proposal-module-expressions.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-05.
-
[AskJS] What are virtual modules
Out of interest, a system like this is proposed as a native language feature:
- JS Module Blocks Proposal
-
[AskJS] Why so much hate toward Javascript from C#, Java, Php, Ruby programmer etc ?
There's an ongoing RFC for module blocks that might improve that a little.
-
ES Modules assumed HTTP2-Push, which is now dying (and unlikely to come back)... what now?
Should TC39 go back and define a multi-module-per-file format now? There's some tinkerings of a proposal for "inline module blocks" which might offer an option, though that doesn't appear to be the intended usage.
-
Updates from 80th TC39 meeting
Module Blocks: Module blocks are syntax for the contents of a module, which can then be imported.
proposal-async-do-expressions
Posts with mentions or reviews of proposal-async-do-expressions.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-14.
-
4 JavaScript Concepts That Every Developer Should Know
Hoisting still applies to let and const. And IIFEs tend to still have relevance when it comes to await, though top level await in modules is one step closer to killing them off for good (async do expressions would be the final nail in that coffin).
-
Unravelling `Async for` Loops
A little more verbose than your example but https://github.com/tc39/proposal-async-do-expressions would help with this.
-
What is the async/await equivalent of this piece of Promise code?
Or with async do expressions
-
Updates from 80th TC39 meeting
async do: async do expressions allow you to introduce an asynchronous context within synchronous code without needing an immediately-invoked async function expression.
What are some alternatives?
When comparing proposal-module-expressions and proposal-async-do-expressions you can also consider the following projects:
proposal-intl-DateTimeFormat-formatRange - ECMA 402 proposal for DateTimeFormat.prototype.{formatRange,formatRangeToParts}
go - The Go programming language
proposal-json-modules - Proposal to import JSON files as modules
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.