Debounces a function. The function will only be called after it has not been called for a specified amount of time.
The function to debounce.
The amount of time to wait before calling the debounced function.
A function that, when called, will call the debounced function after the specified delay.
Debounces a function. The function will only be called after it has not been called for a specified amount of time.