MCPcopy Create free account
hub / github.com/effect-app/libs / interrupt-refetch-repro.test.ts

File interrupt-refetch-repro.test.ts

packages/vue/test/interrupt-refetch-repro.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/* eslint-disable @typescript-eslint/no-explicit-any */
2//
3// Reproduction matrix: an interrupted query fetch leaves the atom stuck `waiting = true` and
4// frozen on its previous value, so it is never refetched until an explicit invalidation happens.

Callers

nothing calls this directly

Calls 15

makeQueryKeyFunction · 0.90
makeEnvFunction · 0.85
makeGatedFunction · 0.85
queryAtomFunction · 0.85
mountSuspenseFunction · 0.85
ticksFunction · 0.85
ignoreSuspenseInterruptFunction · 0.85
settleFunction · 0.85
servedFunction · 0.85
buildQueryFamilyFunction · 0.85
awaitAtomResultFunction · 0.85
invalidateQueriesFunction · 0.85

Tested by

no test coverage detected