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

Method #clearStaleTimeout

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

Source from the content-addressed store, hash-verified

436 }
437
438 #clearStaleTimeout(): void {
439 if (this.#staleTimeoutId !== undefined) {
440 timeoutManager.clearTimeout(this.#staleTimeoutId)
441 this.#staleTimeoutId = undefined
442 }
443 }
444
445 #clearRefetchInterval(): void {
446 if (this.#refetchIntervalId !== undefined) {

Callers 2

destroyMethod · 0.95
#updateStaleTimeoutMethod · 0.95

Calls 1

clearTimeoutMethod · 0.80

Tested by

no test coverage detected