Welshman Docs / @welshman/lib / throttle
Function: throttle() ​
throttle<
F
>(ms
,f
):F
| (...thisArgs
) =>void
Defined in: packages/lib/src/Tools.ts:945
Creates throttled version of function
Type Parameters ​
• F extends (...args
) => any
Parameters ​
ms ​
number
Minimum time between calls
f ​
F
Function to throttle
Returns ​
F
| (...thisArgs
) => void
Throttled function