- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Wed, 12 Jul 2023 13:32:31 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 12 July 2023 20:32:37 UTC
@saschanaz commented on this pull request. > @@ -694,6 +698,14 @@ option. If {{UnderlyingSource/type}} is set to undefined (including via omission [[#qs-api]]. If it is not provided, the default behavior will be the same as a {{CountQueuingStrategy}} with a [=high water mark=] of 1. + <dt><code><var ignore>stream</var> = {{ReadableStream/from(asyncIterable)|ReadableStream.from}}(<var ignore>asyncIterable</var>)</code> + <dd> + <p>Creates a new {{ReadableStream}} wrapping the provided [=iterable=] or [=async iterable=]. + + <p>This can be used to adapt various kinds of objects into a [=readable stream=], such as an + [=array=], an [=async generator=] or a <a + href="https://nodejs.org/api/stream.html#class-streamreadable">Node.js readable stream</a>. Wow, this is nice. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/1288#pullrequestreview-1527188489 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/streams/pull/1288/review/1527188489@github.com>
Received on Wednesday, 12 July 2023 20:32:37 UTC