MCPcopy Create free account
hub / github.com/TanStack/query / #updateTimers

Method #updateTimers

packages/query-core/src/queryObserver.ts:414–417  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

412 }
413
414 #updateTimers(): void {
415 this.#updateStaleTimeout()
416 this.#updateRefetchInterval(this.#computeRefetchInterval())
417 }
418
419 #clearStaleTimeout(): void {
420 if (this.#staleTimeoutId !== undefined) {

Callers 2

onSubscribeMethod · 0.95
onQueryUpdateMethod · 0.95

Calls 3

#updateStaleTimeoutMethod · 0.95

Tested by

no test coverage detected