(runId: string)
| 76 | } |
| 77 | |
| 78 | finalizeRun(runId: string): void { |
| 79 | if (this.eventsByRun) { |
| 80 | this.eventsByRun.delete(runId); |
| 81 | } |
| 82 | this.sequenceByRun.delete(runId); |
| 83 | this.metadataByRun.delete(runId); |
| 84 | } |
| 85 | |
| 86 | private nextSequence(runId: string): number { |
| 87 | const current = this.sequenceByRun.get(runId) ?? 0; |