MCPcopy
hub / github.com/TanStack/query / destroy

Method destroy

packages/query-core/src/queriesObserver.ts:80–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78 }
79
80 destroy(): void {
81 this.listeners = new Set()
82 this.#observers.forEach((observer) => {
83 observer.destroy()
84 })
85 }
86
87 setQueries(
88 queries: Array<QueryObserverOptions>,

Callers 2

onUnsubscribeMethod · 0.95
setQueriesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected