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

LitAsyncDebouncerOptions.md

45 lines899 Bytes

Defined in: async-debouncer/createAsyncDebouncer.ts:14

Options for createAsyncDebouncer, including owner cleanup.

Extends

  • AsyncDebouncerOptions<TFn>

Type Parameters

TFn

TFn extends AnyAsyncFunction

TSelected

TSelected = { }

Properties

onUnmount?

optional onUnmount?: (instance) => void;

Defined in: async-debouncer/createAsyncDebouncer.ts:19

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

Parameters

instance

LitAsyncDebouncer<TFn, TSelected>

Returns

void