- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 17 Mar 2015 02:19:35 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 17 March 2015 09:20:03 UTC
Re: equality, See this comment https://github.com/whatwg/streams/pull/296#issue-60790220 of PR #296. If we decide to put `.closed` back to the stream (not reader) in the future, we need to remember this. ---- Re: cancel() on errored/closed stream (https://github.com/whatwg/streams/issues/266#issuecomment-73716393), - returns a resolved promise when in closed state - returns a rejected promise when in errored state As we no longer have any method to probe the current state of the stream synchronously, we should just expect `cancel()` being called when in closed or errored state. I think the current implementation is reasonable for the new async read() style readable stream/reader. https://github.com/whatwg/streams/issues/266#issuecomment-73716393 --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/266#issuecomment-82227970
Received on Tuesday, 17 March 2015 09:20:03 UTC