Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SvelteStack/svelte-query
/ invalidate
Method
invalidate
src/queryCore/core/query.ts:369–373 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
367
}
368
369
invalidate(): void {
370
if
(!this.state.isInvalidated) {
371
this.dispatch({
type
:
'invalidate'
})
372
}
373
}
374
375
fetch(
376
options?: QueryOptions<TQueryFnData, TError, TData, TQueryKey>,
Callers
1
invalidateQueries
Method · 0.80
Calls
1
dispatch
Method · 0.95
Tested by
no test coverage detected