- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 16 Jun 2015 00:43:45 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 16 June 2015 07:44:20 UTC
> + }
> +
> + if (this._state === 'closed') {
> + return Promise.resolve(undefined);
> + }
> +
> + if (this._state === 'errored') {
> + return Promise.reject(this._storedError);
> + }
> +
> + assert(this._ownerReadableByteStream !== undefined, 'This stream must be attached to a stream');
> +
> + return CancelReadableByteStream(this._ownerReadableByteStream, reason);
> + }
> +
> + read(view) {
Sorry. Right. The spec is not sync with the ref impl yet.
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r32497460
Received on Tuesday, 16 June 2015 07:44:20 UTC