Interface: DispatchEndEvent
Defined in: lib/types/dispatch_runner.ts:293
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. | lib/types/dispatch_runner.ts:295 |
durationMs | number | Duration in milliseconds. | lib/types/dispatch_runner.ts:307 |
endedAt | DateTime | When the dispatch ended. | lib/types/dispatch_runner.ts:305 |
error? | Error | The error stored by ctx.nack(error), or undefined for ack / aborted. | lib/types/dispatch_runner.ts:299 |
iterations | number | Total iterations that ran during this dispatch. | lib/types/dispatch_runner.ts:301 |
startedAt | DateTime | When the dispatch began. | lib/types/dispatch_runner.ts:303 |
status | "ack" | "nack" | "aborted" | How the dispatch settled. | lib/types/dispatch_runner.ts:297 |