Interface: DispatchEndEvent
Defined in: src/lib/types/dispatch_runner.ts:398
Payload fired when a dispatch ends — successfully, by error, or by abort.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
dispatchId | string | Stable identifier for this dispatch. | src/lib/types/dispatch_runner.ts:400 |
durationMs | number | Duration in milliseconds. | src/lib/types/dispatch_runner.ts:412 |
endedAt | DateTime | When the dispatch ended. | src/lib/types/dispatch_runner.ts:410 |
error? | Error | The error stored by ctx.nack(error), or undefined for ack / aborted. | src/lib/types/dispatch_runner.ts:404 |
iterations | number | Total iterations that ran during this dispatch. | src/lib/types/dispatch_runner.ts:406 |
startedAt | DateTime | When the dispatch began. | src/lib/types/dispatch_runner.ts:408 |
status | "ack" | "nack" | "aborted" | How the dispatch settled. | src/lib/types/dispatch_runner.ts:402 |