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

>  
>      return this._closedPromise;
>    }
>  
> +  get desiredSize() {
> +    if (IsWritableStreamDefaultWriter(this) === false) {
> +      throw CreateWritableStreamDefaultWriterBrandCheckException('desiredSize');
> +    }
> +
> +    if (this._ownerWritableStream === undefined) {
> +      throw CreateWritableStreamDefaultWriterLockException('desiredSize');
> +    }
> +
> +    return WritableStreamDefaultWriterGetDesiredSize(this)
> +  }
> +
>    get ready() {

Are you still planning to eventually make this `waitForDesiredSize(n)` or similar? Per https://github.com/whatwg/streams/issues/318 ?

---
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#r72938794

Received on Monday, 1 August 2016 08:18:28 UTC