(
client: QueryClient,
queries: Array<QueryObserverOptions<any, any, any, any, any>>,
options?: QueriesObserverOptions<TCombinedResult>,
)
| 76 | #observerMatches: Array<QueryObserverMatch> = [] |
| 77 | |
| 78 | constructor( |
| 79 | client: QueryClient, |
| 80 | queries: Array<QueryObserverOptions<any, any, any, any, any>>, |
| 81 | options?: QueriesObserverOptions<TCombinedResult>, |
| 82 | ) { |
| 83 | super() |
| 84 | |
| 85 | this.#client = client |
| 86 | this.#options = options |
| 87 | this.#queries = [] |
| 88 | this.#observers = [] |
| 89 | this.#result = [] |
| 90 | |
| 91 | this.setQueries(queries) |
| 92 | } |
| 93 | |
| 94 | protected override onSubscribe(): void { |
| 95 | if (this.listeners.size === 1) { |
nothing calls this directly
no test coverage detected