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

asyncQueuerOptions.md

32 lines685 Bytes

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