- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 11 Jun 2015 13:59:14 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 11 June 2015 20:59:40 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) { The spec has this factored out into an abstract operation --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/361/files#r32267476
Received on Thursday, 11 June 2015 20:59:40 UTC