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

Function activityKey

packages/infra/src/WorkflowEngineCosmos.ts:118–118  ·  view source on GitHub ↗
(name: string, attempt: number)

Source from the content-addressed store, hash-verified

116const cosmosId = (id: string) => encodeURIComponent(id)
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

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…