Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SvelteStack/svelte-query
/ reset
Method
reset
src/queryCore/core/query.ts:276–279 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
274
}
275
276
reset(): void {
277
this.destroy()
278
this.setState(this.initialState)
279
}
280
281
isActive(): boolean {
282
return
this.observers.some(observer => observer.options.enabled !== false)
Callers
1
resetQueries
Method · 0.45
Calls
2
destroy
Method · 0.95
setState
Method · 0.95
Tested by
no test coverage detected