- From: Takeshi Yoshino <notifications@github.com>
- Date: Wed, 01 Jul 2015 22:38:18 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 2 July 2015 05:38:45 UTC
> + this._closeRequested = true;
> +
> + return;
> + }
> +
> + const reader = stream._reader;
> +
> + if (reader === undefined || IsReadableByteStreamReader(reader)) {
> + CloseReadableByteStream(stream);
> + return;
> + }
> +
> + assert(IsReadableByteStreamByobReader(reader), 'reader must be ReadableByteStreamByobReader');
> +
> + if (this._pendingPullIntos.length > 0 && this._pendingPullIntos[0].bytesFilled > 0) {
> + DestroyReadableByteStreamController(this);
Ya. For now I'll leave them as is.
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r33748465
Received on Thursday, 2 July 2015 05:38:45 UTC