* Returns the `QueryClient` without throwing when none is available. * @returns The explicitly passed client, otherwise the client from context, * or `undefined` if neither is available.
()
| 150 | * or `undefined` if neither is available. |
| 151 | */ |
| 152 | protected tryGetQueryClient(): QueryClient | undefined { |
| 153 | return this.explicitClient ?? this.contextClient |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * Returns the `QueryClient`, throwing when none is available. |
nothing calls this directly
no outgoing calls
no test coverage detected