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

Method isActive

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

Source from the content-addressed store, hash-verified

267 }
268
269 isActive(): boolean {
270 return this.observers.some(
271 (observer) => resolveEnabled(observer.options.enabled, this) !== false,
272 )
273 }
274
275 isDisabled(): boolean {
276 if (this.getObserversCount() > 0) {

Callers 2

isDisabledMethod · 0.95
matchQueryFunction · 0.80

Calls 1

resolveEnabledFunction · 0.90

Tested by

no test coverage detected