Re: [whatwg/dom] Request for a different type of example of abort steps (Issue #1031)

So thinking about this more it would probably be more useful for API consumers if we only signaled abortion if abortion succeeded. So we set the aborted flag, and if the in parallel operation indeed had not completed when it observes the set aborted flag it aborts, which then results in a task that rejects the promise.

I think we could probably also still change `fetch()` to do that, although it would be an observable change.

I do think we want this to be consistent across "in parallel" APIs. Having to learn it for each API and account for it would be rather frustrating.

(Removing "clarification" is this is becoming a bit more than that.)

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

Message ID: <whatwg/dom/issues/1031/1233215625@github.com>

Received on Wednesday, 31 August 2022 17:24:16 UTC