Skip to content

Commit

Permalink
New async iterable streams feature (#1318)
Browse files Browse the repository at this point in the history
  • Loading branch information
captainbrosset committed Jul 5, 2024
1 parent 3ceea8c commit a2a874a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions features/async-iterable-streams.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: Asynchronously iterable streams
description: Asynchronous iteration of a stream allows you to use `for await...of` loops to iterate through a stream's incoming data.
spec: https://streams.spec.whatwg.org/#rs-asynciterator
group: streams
compat_features:
- api.ReadableStream.@@asyncIterator
13 changes: 13 additions & 0 deletions features/async-iterable-streams.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Generated from: async-iterable-streams.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "124"
chrome_android: "124"
edge: "124"
firefox: "110"
firefox_android: "110"
compat_features:
- api.ReadableStream.@@asyncIterator
1 change: 1 addition & 0 deletions features/streams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Streams
description: The streams API creates, composes, and consumes continuously generated data.
spec: https://streams.spec.whatwg.org/
caniuse: streams
group: streams
# TODO: Later support
# - api.ReadableStreamDefaultController
# - api.ReadableStreamDefaultController.close
Expand Down
2 changes: 2 additions & 0 deletions groups/streams.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# https://streams.spec.whatwg.org/
name: Streams

0 comments on commit a2a874a

Please # to comment.