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

asyncBatcherOptions.md

32 lines696 Bytes

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