- From: Luca Casonato <notifications@github.com>
- Date: Mon, 25 Mar 2024 05:42:12 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/webidl/pull/1397@github.com>
This commit lifts the async iterator processing logic from the `ReadableStreamFromIterable` operation in the Streams spec, to a new WebIDL type `async iterable<T>`. This will clean up the streams spec, and enable a change in the Fetch spec to directly allow taking async iterable as request/response bodies, without having to pass them to `ReadableStream.from` first. <!-- This comment and the below content is programmatically generated. You may add a comma-separated list of anchors you'd like a direct link to below (e.g. #idl-serializers, #idl-sequence): Don't remove this comment or modify anything below this line. If you don't want a preview generated for this pull request, just replace the whole of this comment's content by "no preview" and remove what's below. --> *** <a href="https://whatpr.org/webidl/1397.html" title="Last updated on Mar 25, 2024, 12:41 PM UTC (14f1bdb)">Preview</a> | <a href="https://whatpr.org/webidl/1397/402a886...14f1bdb.html" title="Last updated on Mar 25, 2024, 12:41 PM UTC (14f1bdb)">Diff</a> You can view, comment on, or merge this pull request online at: https://github.com/whatwg/webidl/pull/1397 -- Commit Summary -- * Add `async iterable<T>` type to WebIDL -- File Changes -- M index.bs (193) -- Patch Links -- https://github.com/whatwg/webidl/pull/1397.patch https://github.com/whatwg/webidl/pull/1397.diff -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/pull/1397 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/pull/1397@github.com>
Received on Monday, 25 March 2024 12:42:16 UTC