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

Method isActive

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

Source from the content-addressed store, hash-verified

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

Callers 2

isDisabledMethod · 0.95
matchQueryFunction · 0.80

Calls 1

resolveQueryBooleanFunction · 0.90

Tested by

no test coverage detected