MCPcopy Create free account
hub / github.com/TanStack/query / isActive

Method isActive

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

Source from the content-addressed store, hash-verified

271 }
272
273 isActive(): boolean {
274 return this.observers.some(
275 (observer) => resolveQueryValue(observer.options.enabled, this) !== false,
276 )
277 }
278
279 isDisabled(): boolean {
280 if (this.getObserversCount() > 0) {

Callers 2

isDisabledMethod · 0.95
matchQueryFunction · 0.80

Calls 1

resolveQueryValueFunction · 0.90

Tested by

no test coverage detected