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

Method #clearStaleTimeout

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

Source from the content-addressed store, hash-verified

565 }
566
567 #clearStaleTimeout(): void {
568 if (this.#staleTimeoutId !== undefined) {
569 timeoutManager.clearTimeout(this.#staleTimeoutId)
570 this.#staleTimeoutId = undefined
571 }
572 }
573
574 #clearRefetchInterval(): void {
575 if (this.#refetchIntervalId !== undefined) {

Callers 2

destroyMethod · 0.95
#updateStaleTimeoutMethod · 0.95

Calls 1

clearTimeoutMethod · 0.80

Tested by

no test coverage detected