Open History to see the last commit
1---
2id: AngularAsyncRateLimiterOptions
3title: AngularAsyncRateLimiterOptions
4---
5
6Defined in: [packages/angular-pacer/src/async-rate-limiter/injectAsyncRateLimiter.ts:32](https://github.com/TanStack/pacer/blob/main/packages/angular-pacer/src/async-rate-limiter/injectAsyncRateLimiter.ts#L32)
7
8Options for [injectAsyncRateLimiter](../functions/injectAsyncRateLimiter.md), including core configuration and Angular cleanup.
9
10## Extends
11
12- `AsyncRateLimiterOptions`\<`TFn`\>
13
14## Type Parameters
15
16### TFn
17
18`TFn` *extends* `AnyAsyncFunction`
19
20## Properties
21
22### onUnmount?
23
24```ts
25optional onUnmount?: (core) => void;
26```
27
28Defined in: [packages/angular-pacer/src/async-rate-limiter/injectAsyncRateLimiter.ts:39](https://github.com/TanStack/pacer/blob/main/packages/angular-pacer/src/async-rate-limiter/injectAsyncRateLimiter.ts#L39)
29
30Called when the owning injection context is destroyed. Receives the core instance.
31Providing this callback replaces the default cleanup (abort running work).
32
33#### Parameters
34
35##### core
36
37`AsyncRateLimiter`\<`TFn`\>
38
39#### Returns
40
41`void`