- From: Yutaka Hirano <notifications@github.com>
- Date: Thu, 19 Feb 2015 22:56:09 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Friday, 20 February 2015 06:56:36 UTC
@domenic thanks for the clarification. >From a ReadableByteStream POV, it is desirable to hide uncommitted data (a.k.a dirty read). So I think we should detach the given buffer. ArrayBuffer.transfer has been proposed to ES7, so we can use it when it gets stable enough. What do you think? If we do so, the buffer returned by read is not the buffer we gave, regardless whether we use sync read + pull or async read. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/253#issuecomment-75197506
Received on Friday, 20 February 2015 06:56:36 UTC