Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SvelteStack/svelte-query
/ clear
Method
clear
src/queryCore/core/queryCache.ts:136–142 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
134
}
135
136
clear(): void {
137
notifyManager.batch(() => {
138
this.queries.forEach(query => {
139
this.remove(query)
140
})
141
})
142
}
143
144
get<
145
TQueryFnData = unknown,
Callers
nothing calls this directly
Calls
2
remove
Method · 0.95
batch
Method · 0.80
Tested by
no test coverage detected