Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
onUnsubscribe
Method · 0.95
Calls
2
clearTimers
Method · 0.95
removeObserver
Method · 0.45
Tested by
no test coverage detected