CommonDebounce
Callable
Parameters
func: (...args) => retT
The function to debounce
Returns (waitInterval, ...args) => retT
- A debounced version of the provided function
Parameters
waitInterval: number
rest...args: argsT
Returns retT
The function to debounce
Creates a debounced wrapper for the provided function with the provided wait time. The wrapped function will not be called as long as the debounced function continues to be called. If the debounced function is called, and then not called again within the wait time, the wrapped function will be called.