MCPcopy Create free account
hub / github.com/Effect-TS/effect / hasLive

Function hasLive

packages/effect/src/ui/Query.ts:5559–5559  ·  view source on GitHub ↗
(entry: Entry)

Source from the content-addressed store, hash-verified

5557 (entry.live === undefined &&
5558 now() - entry.settledAt >= entry.def.staleMs)
5559 const hasLive = (entry: Entry): boolean => entry.patches.some((patch) => patch.live)
5560 /** Inside the fetch-free window, a hydrated entry. */
5561 const inWindow = (entry: Entry): boolean => windowOpen && entry.hydrated
5562 /** The server value, waiting during a fetch or stream reconnection but not a list append. */

Callers 7

idleEligibleFunction · 0.85
ensureFetchFunction · 0.85
getFunction · 0.85
prefetchFunction · 0.85
invalidateEntryFunction · 0.85
settleRunEntryFunction · 0.85
closeWindowFunction · 0.85

Calls 1

someMethod · 0.80

Tested by

no test coverage detected