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

I'd prefer if these functions (throttle/debounce) were built-in to javascript. Limiting the eventListener call rate is useful but it's also limiting.

Let's say for example i have two actions to perform when an event is triggered, one of them requires throttling and the other doesn't, that will force me to create 2 event listeners.

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

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

Received on Tuesday, 6 August 2024 07:01:37 UTC