CommonThrottle
Callable
Parameters
func: (...args) => retT
The function to throttle
Returns (waitInterval, ...args) => retT
- A throttled version of the provided function
Parameters
waitInterval: number
rest...args: argsT
Returns retT
The function to throttle
Creates a throttling wrapper for the provided function with the provided wait time. If the wrapped function has been successfully called within the wait time, further call attempts will be delayed until the wait time has passed.