-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add Async generators #1665
Add Async generators #1665
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pre-review. Only non-blocking suggestions.
@@ -0,0 +1,17 @@ | |||
name: Async generators | |||
description: Async generator functions (`async function*`) are asynchronous and always yield `Promise` objects. | |||
group: javascript |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to have a generators
group?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me add that as a follow up when this PR and #1664 have been merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are both merged now. 👍
Co-authored-by: James Stuckey Weber <jamesnw@gmail.com>
Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function*