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

>    }
>  
> -  _rejectClosedPromise(reason) {
> -    this._closedPromise_reject(reason);
> -    this._closedPromise_resolve = null;
> -    this._closedPromise_reject = null;
> +  return undefined;
> +}
> +
> +function CreateReadableStreamCloseFunction(stream) {
> +  return () => {
> +    if (stream._state !== 'readable') {
> +      return undefined;

Created https://github.com/whatwg/streams/issues/298

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

Received on Monday, 16 March 2015 13:31:19 UTC