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

asyncRetryerOptions.md

32 lines801 Bytes

1---
2id: asyncRetryerOptions
3title: asyncRetryerOptions
4---
5​
6```ts
7function asyncRetryerOptions<TFn, TOptions>(options): TOptions;
8```
9​
10Defined in: [async-retryer.ts:171](https://github.com/TanStack/pacer/blob/main/packages/pacer/src/async-retryer.ts#L171)
11​
12Utility function for sharing common `AsyncRetryerOptions` options between different `AsyncRetryer` instances.
13​
14## Type Parameters
15​
16### TFn
17​
18`TFn` *extends* [`AnyAsyncFunction`](../type-aliases/AnyAsyncFunction.md) = [`AnyAsyncFunction`](../type-aliases/AnyAsyncFunction.md)
19​
20### TOptions
21​
22`TOptions` *extends* `Partial`\<[`AsyncRetryerOptions`](../interfaces/AsyncRetryerOptions.md)\<`TFn`\>\> = `Partial`\<[`AsyncRetryerOptions`](../interfaces/AsyncRetryerOptions.md)\<`TFn`\>\>
23​
24## Parameters
25​
26### options
27​
28`TOptions`
29​
30## Returns
31​
32`TOptions`