Function: debounce()
debounce<Defined in: throttle.ts:177 Debounce a function to only execute after it stops being called for specified timeT>(func,wait,options?): (…args) =>void&object
Type Parameters
T
T extends AnyFunction
Parameters
func
T
Function to debounce
wait
number
Wait time in milliseconds
options?
Debounce optionsleading?
boolean
maxWait?
number
Returns
(…args) => void & object
Debounced function