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

Method #clearStaleTimeout

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

Source from the content-addressed store, hash-verified

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

Callers 2

destroyMethod · 0.95
#updateStaleTimeoutMethod · 0.95

Calls 1

clearTimeoutMethod · 0.80

Tested by

no test coverage detected