MCPcopy Create free account
hub / github.com/effect-app/libs / readPoint

Function readPoint

packages/infra/src/WorkflowEngineCosmos.ts:293–296  ·  view source on GitHub ↗
(id: string, executionId: string)

Source from the content-addressed store, hash-verified

291 })
292
293 const readPoint = <T extends { id: string }>(id: string, executionId: string) =>
294 Effect.promise(() => container.item(id, executionId).read<T>()).pipe(
295 Effect.map((r) => Option.fromNullishOr(r.resource))
296 )
297
298 // --- Workflow result helpers ------------------------------------------
299

Callers 1

Calls 4

readMethod · 0.80
itemMethod · 0.80
pipeMethod · 0.65
mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…