Re: [streams] Make .ready fulfill-only? (#245)

>  We can also do that at // uh oh how do I get the error object? :(

Yeah I guess it delays a microtask and the code looks a bit strange, but it's not too big of a deal.

> Current ReadableStream.prototype.pipeTo() does that in doPipe().

I was able to modify it locally to just use `.closed` instead of `.ready` in most cases, and it worked fine (all tests pass).

> We can expose storedError for synchronous read but it seems overkilling.

I agree.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/245#issuecomment-64520390

Received on Wednesday, 26 November 2014 06:27:54 UTC