From c374fb45701bc82b199acab78249adf5ca7299cb Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Fri, 5 Jul 2024 09:34:28 +0200 Subject: [PATCH 1/2] New async iterable streams feature --- features/async-iterable-streams.yml | 5 +++++ features/async-iterable-streams.yml.dist | 13 +++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 features/async-iterable-streams.yml create mode 100644 features/async-iterable-streams.yml.dist diff --git a/features/async-iterable-streams.yml b/features/async-iterable-streams.yml new file mode 100644 index 00000000000..44b92af0b7d --- /dev/null +++ b/features/async-iterable-streams.yml @@ -0,0 +1,5 @@ +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 +compat_features: + - api.ReadableStream.@@asyncIterator diff --git a/features/async-iterable-streams.yml.dist b/features/async-iterable-streams.yml.dist new file mode 100644 index 00000000000..20f556d9170 --- /dev/null +++ b/features/async-iterable-streams.yml.dist @@ -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 From b6ba7a17fcb4122c66371534eae1b8470884d37e Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Fri, 5 Jul 2024 14:55:29 +0200 Subject: [PATCH 2/2] Added a streams group --- features/async-iterable-streams.yml | 1 + features/streams.yml | 1 + groups/streams.yml | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 groups/streams.yml diff --git a/features/async-iterable-streams.yml b/features/async-iterable-streams.yml index 44b92af0b7d..48f5acdc303 100644 --- a/features/async-iterable-streams.yml +++ b/features/async-iterable-streams.yml @@ -1,5 +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 diff --git a/features/streams.yml b/features/streams.yml index 3676afb8383..f36a5c393a3 100644 --- a/features/streams.yml +++ b/features/streams.yml @@ -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 diff --git a/groups/streams.yml b/groups/streams.yml new file mode 100644 index 00000000000..a908441f1b3 --- /dev/null +++ b/groups/streams.yml @@ -0,0 +1,2 @@ +# https://streams.spec.whatwg.org/ +name: Streams \ No newline at end of file