Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ getObserversCount
Method
getObserversCount
packages/query-core/src/query.ts:387–389 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
385
}
386
387
getObserversCount(): number {
388
return
this.observers.length
389
}
390
391
invalidate(): void {
392
if
(!this.state.isInvalidated) {
Callers
15
isDisabled
Method · 0.95
isStatic
Method · 0.95
isStale
Method · 0.95
client-switch-controllers.test.ts
File · 0.80
query-controller.test.ts
File · 0.80
run
Function · 0.80
getQueryState
Function · 0.80
setupDevtools
Function · 0.80
QueryRow
Function · 0.80
QueryDetails
Function · 0.80
getQueryStatusLabel
Function · 0.80
getStatusRank
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected