Re: [streams] Have each of the stream and reader hold promises (#277)

> @@ -11,17 +12,17 @@ export default class ExclusiveStreamReader {
>        throw new TypeError('This stream has already been locked for exclusive reading by another reader');
>      }
>  
> -    stream._readableStreamReader = this;
> +    AttachExclusiveStreamReader(stream, this);

Any reason not to inline this? It seems to be only used in one place. Same with detach. I don't feel strongly though so if you think it's clearer we can keep it.

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

Received on Friday, 6 February 2015 20:16:35 UTC