- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 05 Mar 2015 14:48:00 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 5 March 2015 22:48:27 UTC
@zenparsing wait, now I realize that what you've said doesn't make sense. The scenario here is e.g.
```js
// rbs has 2 chunks
rbs.read(view1).then(...);
rbs.read(view2).then(...);
rbs.read(view3).then(...);
rbs.read(view4).then(...);
```
We would prefer if the memory in `view3` and `view4` was returned to this code somehow. @tyoshino's idea, I think, is that the last two fulfill with `{ value: zeroLengthViewOntoCorrespondingBuffer, done: true }`. I don't see any other real options.
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/253#issuecomment-77469288
Received on Thursday, 5 March 2015 22:48:27 UTC