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

Function provisionalView

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

Source from the content-addressed store, hash-verified

6270 const withheld = (): boolean => watcher.provisional !== undefined && watcher.provisional === entry.result
6271 // What it would read had the Failure already been dropped.
6272 const provisionalView = (): AsyncResult.AsyncResult<any, any> => AsyncResult.initial(entry.fetch !== undefined)
6273 const current = provisional !== undefined
6274 ? { result: provisionalView(), patched: false }
6275 : patched

Callers 1

watchFunction · 0.85

Calls 1

initialMethod · 0.80

Tested by

no test coverage detected