throttle
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / utils/app/performance/performanceUtils / throttle
Function: throttle()
throttle<
This,Args,Return>(func: (this:This, ...args:Args) =>Return,wait:number):DebouncedFunction<This,Args,Return>
Defined in: utils/app/performance/performanceUtils.ts:291
Throttle a callable.
Type Parametersβ
Thisβ
This
Argsβ
Args extends unknown[]
Returnβ
Return
Parametersβ
funcβ
(this: This, ...args: Args) => Return
waitβ
number
Returnsβ
DebouncedFunction<This, Args, Return>