- From: Domenic Denicola <notifications@github.com>
- Date: Mon, 01 Aug 2016 01:03:45 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 1 August 2016 08:04:13 UTC
> }
>
> - if (this._state === 'closed') {
> - return Promise.resolve(undefined);
> - }
> - if (this._state === 'errored') {
> - return Promise.reject(this._storedError);
> + return AcquireWritableStreamDefaultWriter(this);
> + }
> +}
> +
> +exports.WritableStream = WritableStream;
> +
> +// Helper functions for the WritableStream.
> +
> +function CreateWritableStreamBrandCheckException(name) {
> + return new TypeError('WritableStream.prototype.' + name + ' can only be used on a WritableStream')
Missing semicolon (I should work on adding a lint step...)
---
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#r72937418
Received on Monday, 1 August 2016 08:04:13 UTC