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

> @@ -122,26 +122,6 @@ test('ReadableStream reading a stream makes ready and closed return a promise fu
>    );
>  });
>  
> -test('ReadableStream avoids waiting-to-waiting transitions when immediately reading', t => {

Yeah. We were determining the right `rs.ready` value to expose to the user looking at `rs` by looking at it in a fulfillment callback (which is run asynchronously to actual operation such as `reader.read()`. So, we could check the value while the stream is locked). This property is kinda side-effect of that approach, I guess.

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

Received on Friday, 6 February 2015 10:13:46 UTC