TanStack
Queue API Reference

AlpineAsyncQueuerOptions

Defined in: async-queuer/createAsyncQueuer.ts:12

Options for createAsyncQueuer, including owner cleanup.

Extends

  • AsyncQueuerOptions<TValue>

Type Parameters

TValue

TValue

TSelected

TSelected = { }

Properties

onUnmount?

ts
optional onUnmount?: (instance) => void;

Defined in: async-queuer/createAsyncQueuer.ts:17

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

Parameters

instance

AlpineAsyncQueuer<TValue, TSelected>

Returns

void