Function: debounce()
function debounce<This, Args extends unknown[], Return>(
func: (this: This, ...args: Args) => Return,
wait: number,
options?: DebounceOptions
): DebouncedFunction<This, Args, Return>;
Defined in: utils/app/performance/performanceUtils.ts:98
Debounce a callable.
Type Parametersβ
Thisβ
This
Argsβ
Args extends unknown[]
Returnβ
Return
Parametersβ
funcβ
(this: This, ...args: Args) => Return
waitβ
number
options?β
DebounceOptions = {}
Returnsβ
DebouncedFunction<This, Args, Return>