Re: [whatwg/dom] `AbortController` / `AbortSignal` was updated in a somewhat breaking way (Issue #1059)

Before the change there was a singular reason, exposed in APIs that ended up rejecting a promise (i.e., an "AbortError" DOMException). So that's what `abort()` continues to do. Passing another reason will reject those promises with the given reason. You can find discussion and motivation in the PR linked above.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1059#issuecomment-1044800597
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1059/1044800597@github.com>

Received on Friday, 18 February 2022 16:35:06 UTC