Re: [whatwg/dom] Add AbortSignal.any() (PR #1152)

Part of the reason for the current ordering is that dependent signals are always linked to root source signals, which flattens the dependency tree so it has a depth of at most 1. This cuts out intermediate nodes so they aren't being kept alive just to propagate abort, e.g. if you have a long chain of 'signal following signal following signal, etc.' I think even with weak event listeners, we'd need to keep intermediate signals alive to get the order you want?

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

Message ID: <whatwg/dom/pull/1152/c1533496250@github.com>

Received on Wednesday, 3 May 2023 18:14:23 UTC