MCPcopy Index your code
hub / github.com/Effect-TS/effect / ensurePartialEntity

Function ensurePartialEntity

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

Source from the content-addressed store, hash-verified

102 return entity!
103 }
104 const ensurePartialEntity = (workflowName: string) => {
105 let entity = partialEntities.get(workflowName)
106 if (!entity) {
107 entity = makePartialWorkflowEntity(workflowName) as any
108 partialEntities.set(workflowName, entity as any)
109 }
110 return entity!
111 }
112
113 const activities = new Map<string, {
114 readonly activity: Activity.Any

Callers 1

Calls 3

getMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected