Re: [streams] Change the model for ReadableStream to have async read() (#288)

> @@ -98,57 +93,45 @@ export default class ReadableStream {
>        resolvePipeToPromise = resolve;
>        rejectPipeToPromise = reject;
>  
> -      source = this.getReader();
> +      source.closed.catch(abortDest);
> +      dest.closed.then(
> +        () => {
> +          if (!closedPurposefully) {

This part is a little unfortunate.

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

Received on Thursday, 5 March 2015 13:56:07 UTC