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

QueriesObserverOptions.md

18 lines821 Bytes

1---
2id: QueriesObserverOptions
3title: QueriesObserverOptions
4---
5​
6Defined in: [packages/query-core/src/queriesObserver.ts:23](https://github.com/TanStack/query/blob/main/packages/query-core/src/queriesObserver.ts#L23)
7​
8## Type Parameters
9​
10### TCombinedResult
11​
12`TCombinedResult` = [`QueryObserverResult`](../type-aliases/QueryObserverResult.md)[]
13​
14## Properties
15​
16| Property | Type | Description |
17| ------ | ------ | ------ |
18| <a id="combine"></a> `combine?` | `CombineFn`\<`TCombinedResult`\> | A function that combines the array of `QueryObserverResult`s (one per observed query) into a single value. The combined value is memoized and only recomputed when one of the underlying results, the query hashes, or the `combine` function itself changes. Defaults to returning the array of `QueryObserverResult`s unchanged. |