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

AngularAsyncQueuerOptions.md

41 lines1004 Bytes

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

Options for injectAsyncQueuer, including core configuration and Angular cleanup.

Extends

  • AsyncQueuerOptions<TValue>

Type Parameters

TValue

TValue

Properties

onUnmount?

optional onUnmount?: (core) => void;

Defined in: packages/angular-pacer/src/async-queuer/injectAsyncQueuer.ts:35

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

Parameters

core

AsyncQueuer<TValue>

Returns

void