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

Function makePartialWorkflowEntity

packages/cluster/src/ClusterWorkflowEngine.ts:667–672  ·  view source on GitHub ↗
(workflowName: string)

Source from the content-addressed store, hash-verified

665 .annotate(ClusterSchema.Uninterruptible, true)
666
667const makePartialWorkflowEntity = (workflowName: string) =>
668 Entity.make(`Workflow/${workflowName}`, [
669 DeferredRpc,
670 ResumeRpc,
671 ActivityRpc
672 ])
673
674const activityPrimaryKey = (activity: string, attempt: number) => `${activity}/${attempt}`
675

Callers 1

ensurePartialEntityFunction · 0.85

Calls 1

makeMethod · 0.65

Tested by

no test coverage detected