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

Method destroy

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

Source from the content-addressed store, hash-verified

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

Callers 2

onUnsubscribeMethod · 0.95
setQueriesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected