From a2a874aba8096b9dcb0a0f88a883c5960df90407 Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Fri, 5 Jul 2024 16:33:26 +0200 Subject: [PATCH] New async iterable streams feature (#1318) --- features/async-iterable-streams.yml | 6 ++++++ features/async-iterable-streams.yml.dist | 13 +++++++++++++ features/streams.yml | 1 + groups/streams.yml | 2 ++ 4 files changed, 22 insertions(+) create mode 100644 features/async-iterable-streams.yml create mode 100644 features/async-iterable-streams.yml.dist create mode 100644 groups/streams.yml diff --git a/features/async-iterable-streams.yml b/features/async-iterable-streams.yml new file mode 100644 index 0000000000..48f5acdc30 --- /dev/null +++ b/features/async-iterable-streams.yml @@ -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 diff --git a/features/async-iterable-streams.yml.dist b/features/async-iterable-streams.yml.dist new file mode 100644 index 0000000000..20f556d917 --- /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 diff --git a/features/streams.yml b/features/streams.yml index 3676afb838..f36a5c393a 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 0000000000..a908441f1b --- /dev/null +++ b/groups/streams.yml @@ -0,0 +1,2 @@ +# https://streams.spec.whatwg.org/ +name: Streams \ No newline at end of file