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

> We don't need to cancel it though, just redirect the result to the reader's next read() promise instead of the already-returned read() promise from the stream.

Interesting. Both 1 and 3 redirect pending read data to the reader, and the only difference is whether it rejects the result promise or keep it pending, right? 

Either way, [detaching the given buffer]  (https://github.com/whatwg/streams/issues/253#issuecomment-75197506) is necessary.

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

Received on Tuesday, 24 February 2015 16:20:08 UTC