Re: [whatwg/dom] Proposal: rate limiting event listeners (debounce / throttle) (Issue #1298)

@boutell I feel like `await: true` would be a better/explicit guard to that and it can be used to already queue same async listener multiple times ... it's indeed a common footgun not always understood by developers that multiple dispatches to an async listener doesn't mean that the previous same listener completed whatever it was doing and it easily cause broken states on the UI if the latest dispatch finished before the previous one.

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

Message ID: <whatwg/dom/issues/1298/2242413282@github.com>

Received on Monday, 22 July 2024 08:44:30 UTC