(entityType: string, executionId: string, shardGroup: string)
| 171 | const shardGroupFor = (workflow: Workflow.Any, executionId: string) => |
| 172 | Context.get(workflow.annotations, ClusterSchema.ShardGroup)(executionId as EntityId.EntityId) |
| 173 | const entityAddress = (entityType: string, executionId: string, shardGroup: string) => { |
| 174 | const entityId = EntityId.make(executionId) |
| 175 | return EntityAddress.make({ |
| 176 | entityType: EntityType.make(entityType), |
| 177 | entityId, |
| 178 | shardId: sharding.getShardId(entityId, shardGroup) |
| 179 | }) |
| 180 | } |
| 181 | const entityAddressFor = (options: { |
| 182 | readonly workflow: Workflow.Any |
| 183 | readonly entityType: string |
no test coverage detected