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

Method destroy

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

Source from the content-addressed store, hash-verified

73 }
74
75 destroy(): void {
76 this.listeners = new Set()
77 this.#observers.forEach((observer) => {
78 observer.destroy()
79 })
80 }
81
82 setQueries(
83 queries: Array<QueryObserverOptions>,

Callers 2

onUnsubscribeMethod · 0.95
setQueriesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected