- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 07 Mar 2017 22:35:42 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 8 March 2017 06:36:14 UTC
tyoshino commented on this pull request.
>
stream._state = 'errored';
stream._storedError = e;
- if (stream._pendingAbortRequest === undefined && stream._writer !== undefined) {
- let readyPromiseIsPending = false;
- if (oldState === 'writable' &&
- WritableStreamDefaultControllerGetBackpressure(stream._writableStreamController) === true) {
- readyPromiseIsPending = true;
+ // TODO(tyoshino): Given that writer.abort() fails immediately when the stream has been errored, shouldn't
I'd like to hear @domenic's opinion on this too.
--
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/672#discussion_r104853538
Received on Wednesday, 8 March 2017 06:36:14 UTC