Re: [whatwg/streams] Align WritableStream structure with ReadableStream structure (#488)

>      }
> -    if (this._state === 'closed') {
> -      return Promise.reject(new TypeError('cannot close an already-closed stream'));
> +
> +    stream._state = 'waiting';
> +
> +    if (writer !== undefined) {
> +      WritableStreamDefaultWriterReadyPromiseReset(writer);

Removed prefix as you suggested above.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/488/files/dfa07172203b4c292cfb5a3fc88e821a1db7c3db#r72941013

Received on Monday, 1 August 2016 08:36:02 UTC