MCPcopy 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

isDisabledMethod · 0.95
isStaticMethod · 0.95
isStaleMethod · 0.95
runFunction · 0.80
getQueryStateFunction · 0.80
setupDevtoolsFunction · 0.80
QueryRowFunction · 0.80
QueryDetailsFunction · 0.80
getQueryStatusLabelFunction · 0.80
getStatusRankFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected