- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 11 Dec 2014 11:44:22 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 11 December 2014 19:44:54 UTC
> + throw new TypeError('This stream has already been locked for exclusive reading by another reader');
> + }
> +
> + setReader(stream, this);
> +
> + this._stream = stream;
> + this._getReader = getReader;
> + this._setReader = setReader;
> +
> + this._lockReleased = new Promise(resolve => {
> + this._lockReleased_resolve = resolve;
> + });
> + }
> +
> + get ready() {
> + EnsureStreamReaderIsExclusive(this);
Agreed, thanks for catching
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/251/files#r21703372
Received on Thursday, 11 December 2014 19:44:54 UTC