Skip to content
1 min read · 130 words

Interface: DispatchEndEvent

Payload fired when a dispatch ends — successfully, by error, or by abort.

Properties

PropertyTypeDescription
dispatchIdstringStable identifier for this dispatch.
durationMsnumberDuration in milliseconds.
endedAtDateTimeWhen the dispatch ended.
error?ErrorThe error stored by ctx.nack(error), or undefined for ack / aborted.
iterationsnumberTotal iterations that ran during this dispatch.
startedAtDateTimeWhen the dispatch began.
status"ack" | "nack" | "aborted"How the dispatch settled.