throttle
Functions
throttle()
function throttle<T>(func, wait, options?): T & Cancelable;
This is copy a function of lodash. See docs lodash.throttle. Please do not use this outside Design Atoms.
Type Parameters
| Type Parameter |
|---|
T extends (...args) => any |
Parameters
| Parameter | Type |
|---|---|
func | T |
wait | number |
options? | ThrottleSettings |
Returns
T & Cancelable