(config: QueryClientConfig = {})
| 66 | */ |
| 67 | export class QueryClient extends QC { |
| 68 | constructor(config: QueryClientConfig = {}) { |
| 69 | const vueQueryConfig = { |
| 70 | defaultOptions: config.defaultOptions, |
| 71 | queryCache: config.queryCache || new QueryCache(), |
| 72 | mutationCache: config.mutationCache || new MutationCache(), |
| 73 | } |
| 74 | super(vueQueryConfig) |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * `true` while a `clientPersister` passed to `VueQueryPlugin` is restoring the cache. Queries don't fetch |
nothing calls this directly
no outgoing calls
no test coverage detected