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

Method #updateTimers

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

Source from the content-addressed store, hash-verified

560 }
561
562 #updateTimers(): void {
563 this.#updateStaleTimeout()
564 this.#updateRefetchInterval(this.#computeRefetchInterval())
565 }
566
567 #clearStaleTimeout(): void {
568 if (this.#staleTimeoutId !== undefined) {

Callers 2

onSubscribeMethod · 0.95
onQueryUpdateMethod · 0.95

Calls 3

#updateStaleTimeoutMethod · 0.95

Tested by

no test coverage detected