Skip to main content

AlpineThrottlerOptions

还没翻译译自英文(tanstack.com)本页 19 段都还没译

Defined in: throttler/createThrottler.ts:13

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:18

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

Parameters

instance

AlpineThrottler<TFn, TSelected>

Returns

void