(config: QueryClientConfig = {})
| 86 | #unsubscribeOnline?: () => void |
| 87 | |
| 88 | constructor(config: QueryClientConfig = {}) { |
| 89 | this.#queryCache = config.queryCache || new QueryCache() |
| 90 | this.#mutationCache = config.mutationCache || new MutationCache() |
| 91 | this.#defaultOptions = config.defaultOptions || {} |
| 92 | this.#queryDefaults = new Map() |
| 93 | this.#mutationDefaults = new Map() |
| 94 | this.#mountCount = 0 |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * Called by a framework adapter's `QueryClientProvider`-equivalent when it mounts, to start |
nothing calls this directly
no outgoing calls
no test coverage detected