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

Method #updateTimers

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

Source from the content-addressed store, hash-verified

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

Callers 2

onSubscribeMethod · 0.95
onQueryUpdateMethod · 0.95

Calls 3

#updateStaleTimeoutMethod · 0.95

Tested by

no test coverage detected