MCPcopy
hub / github.com/TanStack/query / getObserversCount

Method getObserversCount

packages/query-core/src/query.ts:377–379  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

375 }
376
377 getObserversCount(): number {
378 return this.observers.length
379 }
380
381 invalidate(): void {
382 if (!this.state.isInvalidated) {

Callers 13

isDisabledMethod · 0.95
isStaticMethod · 0.95
isStaleMethod · 0.95
getQueryStateFunction · 0.80
setupDevtoolsFunction · 0.80
QueryRowFunction · 0.80
QueryDetailsFunction · 0.80
getQueryStatusLabelFunction · 0.80
getStatusRankFunction · 0.80
suspense.test.tsxFile · 0.80
useQuery.test.tsxFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected