Re: [whatwg/streams] ReadableStream.from(asyncIterable) (#1083)

@jasnell commented on this pull request.



> @@ -475,6 +481,8 @@ The Web IDL definition for the {{ReadableStream}} class is given as follows:
 interface ReadableStream {
   constructor(optional object underlyingSource, optional QueuingStrategy strategy = {});
 
+  static ReadableStream from(any asyncIterable);

That's fine. It was largely just a strawman anyway. I'm just as happy deferring any support for BYOB in this mechanism. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1083#discussion_r727652956

Received on Wednesday, 13 October 2021 02:36:24 UTC