MCPcopy Create free account
hub / github.com/TanStack/query / constructor

Method constructor

packages/query-core/src/queryCache.ts:95–98  ·  view source on GitHub ↗
(public config: QueryCacheConfig = {})

Source from the content-addressed store, hash-verified

93 #queries: QueryStore
94
95 constructor(public config: QueryCacheConfig = {}) {
96 super()
97 this.#queries = new Map<string, Query>()
98 }
99
100 build<
101 TQueryFnData = unknown,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected