Skip to content
Source
Sign inSign up
TanStack/pacer
Open History to see the last commit

LitThrottlerOptions.md

45 lines820 Bytes

Defined in: throttler/createThrottler.ts:14

Options for createThrottler, including owner cleanup.

Extends

  • ThrottlerOptions<TFn>

Type Parameters

TFn

TFn extends AnyFunction

TSelected

TSelected = { }

Properties

onUnmount?

optional onUnmount?: (instance) => void;

Defined in: throttler/createThrottler.ts:19

Replaces default cleanup. Use this to flush, cancel, or stop pending work.

Parameters

instance

LitThrottler<TFn, TSelected>

Returns

void