throttle
Public Function
Throttle a function.
Example
const A = throttle(myFunction, 1000)
Parameters
Name | Description |
---|---|
|
|
|
|
Returns
(...args: Parameters<T>) => ReturnType<T>
Public Function
Throttle a function.
const A = throttle(myFunction, 1000)
Name | Description |
---|---|
|
|
|
|
(...args: Parameters<T>) => ReturnType<T>