- From: Adam Rice <notifications@github.com>
- Date: Fri, 31 Mar 2017 04:36:59 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 31 March 2017 11:37:30 UTC
ricea commented on this pull request.
> @@ -405,7 +383,7 @@ class WritableStreamDefaultWriter {
const state = stream._state;
if (state === 'writable') {
- if (stream._pendingAbortRequest !== undefined) {
+ if (stream._pendingError === true) {
const error = new TypeError('Requested to abort');
It's also consistent with the 'errored' state, so I've gone with that.
--
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/721#discussion_r109141742
Received on Friday, 31 March 2017 11:37:30 UTC