Re: [streams] Support reading bytes into buffers allocated by user code on platforms where only async read is available (#253)

> could you just return an empty view with done: false for each input view, and then a final iteration with done: true and value: undefined? It's a bit of a corner case, anyway (I think).

Hmm, I think I like this. It depends on consumers being prepared to handle size-zero views but that seems probably OK.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/253#issuecomment-77466224

Received on Thursday, 5 March 2015 22:29:24 UTC