Re: [whatwg/streams] Use abort reason in ReadableStreamPipeTo (PR #1182)

@annevk commented on this pull request.



> +   1. If |signal|'s [=AbortSignal/abort reason=] is not undefined, let |error| be |signal|'s
+      [=AbortSignal/abort reason=].
+   1. Otherwise, let |error| be a new "{{AbortError}}" {{DOMException}}.

This is run as the result of signal abort being run, no? Or I suppose in the case the signal was already aborted. Either way, perhaps https://github.com/whatwg/dom/pull/1027#issuecomment-952978366 is a better clarification?

-- 
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/1182#discussion_r737519416

Received on Wednesday, 27 October 2021 14:20:06 UTC