- From: Andreu Botella <notifications@github.com>
- Date: Thu, 04 May 2023 08:18:53 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 4 May 2023 15:18:59 UTC
I'm confused by the fact that dependent signals is a weak set, because it seems like it might prevent the `abort` event from being fired in cases like this: ```js const ac = new AbortController(); AbortSignal.any([ac.signal]).onabort = () => { doSomething(); }; // The signal returned from AbortSignal.any could be collected at some // point between the end of this script and the click event. buttonEl.onclick = () => ac.abort(); ``` -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1152#issuecomment-1534967994 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1152/c1534967994@github.com>
Received on Thursday, 4 May 2023 15:18:59 UTC