Re: [whatwg/streams] Add ReadableStreamBYOBReader.readFully() (#1145)

@MattiasBuelens commented on this pull request.



> +: <dfn for="pull-into descriptor">read fully</dfn>
+:: A boolean flag indicating whether this is a {{ReadableStreamBYOBReader/readFully()}} request.

A "default read-fully" request wouldn't make much sense, since there's no BYOB view that needs to be filled. The only reasonable thing this could do is keep reading until the stream becomes closed, but then `readable.arrayBuffer()` (#1019) seems like a better solution.

I'll keep it a boolean for now. 🙂

-- 
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/1145#discussion_r689149309

Received on Sunday, 15 August 2021 22:02:29 UTC