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

Method clear

packages/query-core/src/queryClient.ts:720–723  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

718 }
719
720 clear(): void {
721 this.#queryCache.clear()
722 this.#mutationCache.clear()
723 }
724}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected