Re: [streams] rsReader.readBatch(numberOfChunks)? rbsReader.read(view, { waitUntilDone: true })? (#320)

`readBatch()`: Though the situation has changed (now read() is async), basically this is revival of https://github.com/whatwg/streams/issues/74. In http://lists.w3.org/Archives/Public/public-webapps/2013JulSep/0481.html, I proposed this functionality as `readableThreshold`, FYI.

`waitUntilDone`: This thread https://github.com/whatwg/streams/issues/177#issuecomment-83991120 is related. Basically I don't think we need the option

> fill the entire view or close the stream

By "close the stream", do you mean "close the stream after filling the view with the bytes read though that is smaller than originalView.byteLength"?

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

Received on Wednesday, 8 April 2015 07:51:50 UTC