🎉 Asynchronous Iteration arrived at Stage 4.
See original GitHub issuehttps://github.com/tc39/proposals/commit/a41dccc91675f41c65dee354c18c19946d6f2f45
- Update Espree to support the syntax in
ecmaVersion:2018
.for await (const x of xs);
(ForOfStatement#await
)async function* f() {}
f = async function* () {}
obj = { async* f() {} }
class A { async* f() {} }
- Update core rules to support the syntax.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
ES2018: asynchronous iteration - 2ality
This blog post explains the ECMAScript proposal “Asynchronous Iteration” by Domenic Denicola and Kevin Smith. It has reached stage 4 on ...
Read more >Introduction to Asynchronous Iteration - Observable
Async iteration is a simple extension of this concept: rather than a single async value, you have multiple async values and you want...
Read more >Node.js Event-Loop: How even quick Node.js async functions ...
First, let's block the Node.js Event-Loop! Note: Examples below use Node 10.9.0 on an Ubuntu 18.04 VM with 4 cores, running on a ......
Read more >Asynchronous JavaScript: Introducing async and await - Twilio
Learn to write asynchronous JavaScript using the async and await keywords in this programming tutorial. It includes a case study application ...
Read more >Async iteration and generators - The Modern JavaScript Tutorial
Asynchronous iteration allow us to iterate over data that comes asynchronously, on-demand. Like, for instance, when we download something ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
object-shorthand
fixer needs to account for async generator methodssemi
needs to account forfor-await-of
statementskeyword-spacing
needs to account forfor-await-of
statementsno-await-in-loop
needs to account forfor-await-of
statements (should not report statements infor-await-of
loops)no-useless-computed-key
fixer needs to account for async generator methodsrequire-await
needs to avoid reporting errors if an async function has afor-await-of
loopI’m working on this.