Re: [streams] Byte stream update, including reference implementation (#361)

> +
> +    if (this._ownerReadableByteStream === undefined) {
> +      return;
> +    }
> +
> +    if (this._readIntoRequests.length > 0) {
> +      throw new TypeError('Tried to release a reader lock when that reader has pending read() calls un-settled');
> +    }
> +
> +    if (this._ownerReadableByteStream._state === 'readable') {
> +      CloseReadableByteStreamReader(this);
> +    }
> +  }
> +}
> +
> +function CallPull(controller) {

Name is too generic, sadly.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r33552012

Received on Tuesday, 30 June 2015 08:47:18 UTC