Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions features/async-generators.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Async generators
description: Async generator functions (`async function*`) create iterators that return multiple promises, one after another, on-demand.
group: javascript
Copy link
Collaborator

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?

Copy link
Collaborator Author

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

Copy link
Collaborator

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. 👍

snapshot: ecmascript-2017
spec:
- https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-asyncgeneratorfunction-objects
- https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-asyncgenerator-objects
compat_features:
- javascript.builtins.AsyncGenerator
- javascript.builtins.AsyncGenerator.next
- javascript.builtins.AsyncGenerator.return
- javascript.builtins.AsyncGenerator.throw
- javascript.builtins.AsyncGeneratorFunction
- javascript.builtins.AsyncGeneratorFunction.AsyncGeneratorFunction
- javascript.functions.method_definitions.async_generator_methods
- javascript.operators.async_generator_function
- javascript.statements.async_generator_function
25 changes: 25 additions & 0 deletions features/async-generators.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated from: async-generators.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2020-01-15
baseline_high_date: 2022-07-15
support:
chrome: "63"
chrome_android: "63"
edge: "79"
firefox: "55"
firefox_android: "55"
safari: "12"
safari_ios: "12"
compat_features:
- javascript.builtins.AsyncGenerator
- javascript.builtins.AsyncGenerator.next
- javascript.builtins.AsyncGenerator.return
- javascript.builtins.AsyncGenerator.throw
- javascript.builtins.AsyncGeneratorFunction
- javascript.builtins.AsyncGeneratorFunction.AsyncGeneratorFunction
- javascript.functions.method_definitions.async_generator_methods
- javascript.operators.async_generator_function
- javascript.statements.async_generator_function