Re: [streams] Change the model for ReadableStream to have async read() (#288)

I really don't like that. pipeTo having exclusive access is a feature that should exist on all streams (byte streams or not). And people should not have to think about whether they're dealing with a byte stream or another stream if they want to just pipe it somewhere else.

It seems like we could accomplish the same simplification if we gave up on having pipeTo be explainable in author code. That was actually the original idea of https://github.com/whatwg/streams/issues/241.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/288#issuecomment-76193197

Received on Thursday, 26 February 2015 15:05:33 UTC