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

Function watchOne

packages/effect/test/ui/Query.test.ts:203–203  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

201 args: unknown
202 ) => Effect.Effect<any, any>
203 const watchOne = (id: string) => cache.watch(def, { id }, fetcher, () => {})
204 // Alone: the fetch goes, and the cold entry with it.
205 const alone = watchOne("1")
206 yield* flush

Callers 1

Query.test.tsFile · 0.85

Calls 2

showFunction · 0.70
pushMethod · 0.65

Tested by

no test coverage detected