Skip to content

throttle

throttle<T>(fn, ms): (…args) => void

Defined in: timing.ts:14

Throttle a function. Ensures at most one call per interval.

T extends (…args) => void

T

number

(…args) => void