UseThrottle
katanakit-js / useThrottle
Function: useThrottle()
Section titled “Function: useThrottle()”function useThrottle<T>(func, limitMs): (...args) => void;Defined in: core/services/timing.service.ts:482
Leading-edge throttle. See TimingService.useThrottle.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T extends (…args) => unknown |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
func |
T |
limitMs |
number |
Returns
Section titled “Returns”(…args) => void