- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 30 Jun 2015 03:57:15 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 30 June 2015 10:57:43 UTC
> + } > + > + if (IsReadableByteStreamReader(reader)) { > + if (reader._readRequests.length === 0) { > + EnqueueInReadableByteStreamController(this, chunk); > + return; > + } > + > + assert(this._queue.length === 0); > + > + const req = reader._readRequests.shift(); > + // TODO: Detach chunk. > + req.resolve(CreateIterResultObject(chunk, false)); > + > + if (this._closeRequested === true) { > + CloseReadableByteStream(stream); Sorry about having you spend much time to understand it. It's just a mistake!! --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/361/files#r33561158
Received on Tuesday, 30 June 2015 10:57:43 UTC