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

AngularQueuerOptions.md

41 lines907 Bytes

1---
2id: AngularQueuerOptions
3title: AngularQueuerOptions
4---
5​
6Defined in: [packages/angular-pacer/src/queuer/injectQueuer.ts:28](https://github.com/TanStack/pacer/blob/main/packages/angular-pacer/src/queuer/injectQueuer.ts#L28)
7​
8Options for [injectQueuer](../functions/injectQueuer.md), including core configuration and Angular cleanup.
9​
10## Extends
11​
12- `QueuerOptions`\<`TValue`\>
13​
14## Type Parameters
15​
16### TValue
17​
18`TValue`
19​
20## Properties
21​
22### onUnmount?
23​
24```ts
25optional onUnmount?: (core) => void;
26```
27​
28Defined in: [packages/angular-pacer/src/queuer/injectQueuer.ts:33](https://github.com/TanStack/pacer/blob/main/packages/angular-pacer/src/queuer/injectQueuer.ts#L33)
29​
30Called when the owning injection context is destroyed. Receives the core instance.
31Providing this callback replaces the default cleanup (stop automatic processing).
32​
33#### Parameters
34​
35##### core
36​
37`Queuer`\<`TValue`\>
38​
39#### Returns
40​
41`void`