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

Function deferredKey

packages/infra/src/WorkflowEngineCosmos.ts:119–119  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

117const execId = "exec" as const
118const activityKey = (name: string, attempt: number) => cosmosId(`activity::${name}::${attempt}`)
119const deferredKey = (name: string) => cosmosId(`deferred::${name}`)
120const clockKey = (name: string) => cosmosId(`clock::${name}`)
121
122// Single-item Cosmos writes (`replace`) *throw* on 409/412/404 rather than

Callers 2

fireClockFunction · 0.85

Calls 1

cosmosIdFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…