- From: Dominic Farolino <notifications@github.com>
- Date: Wed, 28 Aug 2024 03:37:33 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 28 August 2024 10:37:37 UTC
I just came across this after looking into the AbortSignal algorithms while working on Observables, and I don't understand this part: > Dependent signals do not themselves have dependent signals, which means it's unnecessary to recursively call "signal abort" Why is this true? In Observables, we were using dependent `AbortSignal`s for a while, for each signal that was used to subscribe to upstream Observables, and I believe we were able to create a long chain of `AbortSignal` dependencies such that aborting some initial signal led to the recursive invocation of (old version of) the "**signal abort**" algorithm, on a whole deep chain of signals. Why does this PR say that is not possible? Note: We are no longer chaining dependent signals like this in Observables, because the timing of aborting parent signals before dependents did not work for us (https://github.com/WICG/observable/pull/154), but still I think it is very possible to do, no? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1295#issuecomment-2314952559 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1295/c2314952559@github.com>
Received on Wednesday, 28 August 2024 10:37:37 UTC