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

Function inWindow

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

Source from the content-addressed store, hash-verified

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. */
5563 const view = (entry: Entry): AsyncResult.AsyncResult<any, any> => {
5564 const waiting = entry.fetch !== undefined

Callers 4

emitFetchFunction · 0.70
watchFunction · 0.70
getFunction · 0.70
prefetchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected