- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 30 Jun 2015 02:52:54 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 30 June 2015 09:53:25 UTC
> +
> + this._queue = [];
> + this._totalQueuedBytes = 0;
> +
> + InvokeOrNoop(underlyingByteSource, 'start', [this]);
> + }
> +
> + close() {
> + if (!IsReadableByteStreamController(this)) {
> + throw new TypeError(
> + 'ReadableByteStreamController.prototype.close can only be used on a ReadableByteStreamController');
> + }
> +
> + const stream = this._controlledReadableByteStream;
> +
> + if (stream._closeRequested) {
And initialize. 186a2626e0b9f5825ccc10a769dc0e4f558c3f11
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r33557003
Received on Tuesday, 30 June 2015 09:53:25 UTC