Skip to content

ThrottledCallback

Defined in: src/hooks/useThrottledCallback/useThrottledCallback.types.ts:8

Type Parameters

Args

Args extends unknown[]

ThrottledCallback(…args): void

Defined in: src/hooks/useThrottledCallback/useThrottledCallback.types.ts:9

Parameters

args

Args

Returns

void

Properties

cancel()

cancel: () => void

Defined in: src/hooks/useThrottledCallback/useThrottledCallback.types.ts:11

Cancel any pending trailing call and reset the throttle window.

Returns

void