- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Thu, 02 Jun 2022 02:59:33 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 June 2022 09:59:44 UTC
@saschanaz commented on this pull request.
> @@ -2,6 +2,8 @@
interface ReadableStream {
constructor(optional object underlyingSource, optional QueuingStrategy strategy = {});
+ static ReadableStream from(any asyncIterable);
Should this be fromAsync to match TC39's [Array.fromAsync(asyncIterable) proposal](https://github.com/tc39/proposal-array-from-async/), and to explicitly show that it supports async iterable unlike Array.from? (But that one returns a promise while this one does not 🤔)
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1083#pullrequestreview-993301526
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/streams/pull/1083/review/993301526@github.com>
Received on Thursday, 2 June 2022 09:59:44 UTC