MCPcopy Create free account
hub / github.com/SvelteStack/svelte-query / destroy

Method destroy

src/queryCore/core/queryObserver.ts:133–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 }
132
133 destroy(): void {
134 this.listeners = []
135 this.clearTimers()
136 this.currentQuery.removeObserver(this)
137 }
138
139 setOptions(
140 options?: QueryObserverOptions<

Callers 1

onUnsubscribeMethod · 0.95

Calls 2

clearTimersMethod · 0.95
removeObserverMethod · 0.45

Tested by

no test coverage detected