API Reference

QueriesObserverOptions

Defined in: packages/query-core/src/queriesObserver.ts:23

Type Parameters

TCombinedResult

TCombinedResult = QueryObserverResult[]

Properties

combine?

ts
optional combine: CombineFn<TCombinedResult>;

Defined in: packages/query-core/src/queriesObserver.ts:34

A function that combines the array of QueryObserverResults (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 QueryObserverResults unchanged.