Re: [whatwg/streams] Proposal: ReadableStreamBodyReader (Issue #1238)

> Succinctness alone is not a compelling argument in my opinion, because the new reader mode is more verbose than using new Response:

No, definitely not the only argument. The goal is to standardize the pattern even in cases where `Response`/`Request` are not used. If all I want is to be able to consume a `ReadableStream` as a concatenated text string, I shouldn't have to create a `Response` object to do so. The `ReadableStream.prototype.arrayBuffer()` option would be a good alternative to the body reader proposal, although `ReadableStream.prototype.blob()` might be better as it gives more opportunity for internal optimizations.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1238#issuecomment-1175646922
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/issues/1238/1175646922@github.com>

Received on Wednesday, 6 July 2022 00:55:29 UTC