- From: Takeshi Yoshino <notifications@github.com>
- Date: Fri, 10 Apr 2015 09:28:34 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Friday, 10 April 2015 16:29:01 UTC
I guess `readBatch(numberOfChunks)` is proposed here instead of providing only `readAllAvailable()` in order to control back-pressure precisely (if the consumer is ready to consume only up to 3 chunks, it can call `readBatch(3)`). If we want to give the same functionality to `readBatch(N)` of ReadableByteStream, I have no idea how much value we should set `N` to if `N` means number of chunks. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/320#issuecomment-91608484
Received on Friday, 10 April 2015 16:29:01 UTC