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

Method #updateTimers

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

Source from the content-addressed store, hash-verified

431 }
432
433 #updateTimers(): void {
434 this.#updateStaleTimeout()
435 this.#updateRefetchInterval(this.#computeRefetchInterval())
436 }
437
438 #clearStaleTimeout(): void {
439 if (this.#staleTimeoutId !== undefined) {

Callers 2

onSubscribeMethod · 0.95
onQueryUpdateMethod · 0.95

Calls 3

#updateStaleTimeoutMethod · 0.95

Tested by

no test coverage detected