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

Method #clearStaleTimeout

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

Source from the content-addressed store, hash-verified

417 }
418
419 #clearStaleTimeout(): void {
420 if (this.#staleTimeoutId !== undefined) {
421 timeoutManager.clearTimeout(this.#staleTimeoutId)
422 this.#staleTimeoutId = undefined
423 }
424 }
425
426 #clearRefetchInterval(): void {
427 if (this.#refetchIntervalId !== undefined) {

Callers 2

destroyMethod · 0.95
#updateStaleTimeoutMethod · 0.95

Calls 1

clearTimeoutMethod · 0.80

Tested by

no test coverage detected