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

Method #updateTimers

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

Source from the content-addressed store, hash-verified

538 }
539
540 #updateTimers(): void {
541 this.#updateStaleTimeout()
542 this.#updateRefetchInterval(this.#computeRefetchInterval())
543 }
544
545 #clearStaleTimeout(): void {
546 if (this.#staleTimeoutId !== undefined) {

Callers 2

onSubscribeMethod · 0.95
onQueryUpdateMethod · 0.95

Calls 3

#updateStaleTimeoutMethod · 0.95

Tested by

no test coverage detected