- From: Yutaka Hirano <notifications@github.com>
- Date: Mon, 15 Dec 2014 04:04:01 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 15 December 2014 12:04:27 UTC
> > var sourceCancelPromise = helpers.promiseCall(this._onCancel, reason); > return sourceCancelPromise.then(() => undefined); > } > > + getReader() { > + return new ExclusiveStreamReader(this); Throws an exception if the state is closed or errored is good, I think. Otherwise, there "closed -> waiting" and "errored->waiting" state transition will be observed. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/251/files#r21819518
Received on Monday, 15 December 2014 12:04:27 UTC