(operation: string, executionId?: string)
| 162 | const clockPollInterval = cfg.clockPollInterval ?? Duration.seconds(5) |
| 163 | |
| 164 | const annotate = (operation: string, executionId?: string) => |
| 165 | annotateDb({ |
| 166 | operation, |
| 167 | system: "cosmosdb", |
| 168 | collection: containerId, |
| 169 | entity: "workflow", |
| 170 | extra: executionId !== undefined |
| 171 | ? { "azure.cosmosdb.operation.partition_key": executionId, "app.entity.id": executionId } |
| 172 | : undefined |
| 173 | }) |
| 174 | |
| 175 | type Registered = { |
| 176 | readonly workflow: Workflow.Any |
no test coverage detected
searching dependent graphs…