- From: Benjamin Gruenbaum <notifications@github.com>
- Date: Thu, 04 May 2023 01:17:25 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 4 May 2023 08:17:31 UTC
Interesting, thanks. > 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? Yeah though I suspect very long chains with that sort of dependencies aren't common/practical anyway? Any chance you can provide an example? The motivating examples I've used in the past is "signal for server + signal for each request" in Node and "tree of components where cancellation propagates" in web components/browsers. In what case is an action hierarchical but the intermediate steps go "out of scopes" before the last steps? @annevk > You wouldn't want a userland-added event listener to be able to stop your listener from running, for instance. As far as I'm aware there is no way to remove others' event listeners? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1152#issuecomment-1534275534 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1152/c1534275534@github.com>
Received on Thursday, 4 May 2023 08:17:31 UTC