Write functions that limit how often a callback can execute ? #720
Replies: 1 comment
Throttle (max once every X ms) js const { leading = true, trailing = true } = options; function invoke() { return function throttled(...args) { }; |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Write functions that limit how often a callback can execute (useful for search inputs, scroll events).
All reactions