Re: [whatwg/streams] add @@asyncIterator to ReadableStreamDefaultReader (#950)

> I'm okay with an alias but this should definitely be on the reader be sure that's where the data reading happens.

I'm not sure I agree with this reasoning. In general, we provide higher-level utilities on the stream, notably pipeTo() and tee(). Under the scenes, those use readers. But they're intentionally meant to allow consumers to not care about the whole reader paradigm.

In contrast, when you're using a reader, these high-level conveniences are not interesting or necessary---you're doing chunk-wise manual manipulation.

-- 
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/950#issuecomment-417674179

Received on Friday, 31 August 2018 14:03:43 UTC