- From: Tom Boutell <notifications@github.com>
- Date: Mon, 22 Jul 2024 00:25:16 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 22 July 2024 07:25:20 UTC
I find that this is most relevant when the handler itself will take time to execute, a variable amount of time, and there would be negative consequences of simultaneous execution of several instances of that asynchronous handler, e.g. an autocomplete input not ultimately displaying the final set of suggestions due to a race condition. As such, I think that the usefulness of this feature would be greatly increased if it detected promises returned by the handler and ensured that they reached resolution before allowing another invocation. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1298#issuecomment-2242268576 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1298/2242268576@github.com>
Received on Monday, 22 July 2024 07:25:20 UTC