Skip to Content
APIFunctionsFunction: throttle()

Hero Hook Form API v2.15.0


Hero Hook Form API / throttle

Function: throttle()

throttle<T>(func, limit): (…args) => void

Defined in: utils/performance.ts:23 

Throttle function for high-frequency events

Type Parameters

T

T extends (…args) => any

Parameters

func

T

limit

number

Returns

(…args): void

Parameters

args

Parameters<T>

Returns

void