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

Method constructor

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

Source from the content-addressed store, hash-verified

96 #mutationId: number
97
98 constructor(public config: MutationCacheConfig = {}) {
99 super()
100 this.#mutations = new Set()
101 this.#scopes = new Map()
102 this.#mutationId = 0
103 }
104
105 build<TData, TError, TVariables, TOnMutateResult>(
106 client: QueryClient,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected