MCPcopy
hub / github.com/TanStack/query / #clearStaleTimeout

Method #clearStaleTimeout

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

Source from the content-addressed store, hash-verified

412 }
413
414 #clearStaleTimeout(): void {
415 if (this.#staleTimeoutId) {
416 timeoutManager.clearTimeout(this.#staleTimeoutId)
417 this.#staleTimeoutId = undefined
418 }
419 }
420
421 #clearRefetchInterval(): void {
422 if (this.#refetchIntervalId) {

Callers 2

destroyMethod · 0.95
#updateStaleTimeoutMethod · 0.95

Calls 1

clearTimeoutMethod · 0.80

Tested by

no test coverage detected