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

queuerOptions.md

32 lines628 Bytes

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