TanStack
Queue API Reference

AngularQueuerOptions

Defined in: packages/angular-pacer/src/queuer/injectQueuer.ts:28

Options for injectQueuer, including core configuration and Angular cleanup.

Extends

  • QueuerOptions<TValue>

Type Parameters

TValue

TValue

Properties

onUnmount?

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

Defined in: packages/angular-pacer/src/queuer/injectQueuer.ts:33

Called when the owning injection context is destroyed. Receives the core instance. Providing this callback replaces the default cleanup (stop automatic processing).

Parameters

core

Queuer<TValue>

Returns

void