throttle()
function throttle<I, O>(func, options?): IFunc<I, O>;
Given an execution function, return a throttled execution function which executes a maximum of
once every wait_ms.
This is conceptually the same as _.throttle except this handles promises correctly
Type Parameters
| Type Parameter |
|---|
I extends any[] |
O |
Parameters
| Parameter | Type |
|---|---|
func | IFunc<I, O> |
options? | ThrottleOptions |
Returns
IFunc<I, O>