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

AlpineBatcherOptions.md

45 lines796 Bytes

Defined in: batcher/createBatcher.ts:9

Options for createBatcher, including owner cleanup.

Extends

  • BatcherOptions<TValue>

Type Parameters

TValue

TValue

TSelected

TSelected = { }

Properties

onUnmount?

optional onUnmount?: (instance) => void;

Defined in: batcher/createBatcher.ts:14

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

Parameters

instance

AlpineBatcher<TValue, TSelected>

Returns

void