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