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

Function clockKey

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

Source from the content-addressed store, hash-verified

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
123// returning the status code (only `read` and batch ops surface codes), so OCC

Callers 1

Calls 1

cosmosIdFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…