Interface: OutboxFlushResult
Defined in: packages/workflow-engine/src/kernel/commands.ts:362
Result of an outbox.flush command.
Properties
deadLettered
readonlydeadLettered:number
Defined in: packages/workflow-engine/src/kernel/commands.ts:378
Events this flush moved to the dead-letter queue because their retry
budget ran out. These no longer retry on their own: replay them with
plugin.replayDLQ.
eventSinkError?
readonlyoptionaleventSinkError?:string
Defined in: packages/workflow-engine/src/kernel/commands.ts:382
Message of the first publish failure of this flush, when degraded.
eventSinkStatus
readonlyeventSinkStatus:EventSinkStatus
Defined in: packages/workflow-engine/src/kernel/commands.ts:380
"degraded" when at least one event could not be published.
failed
readonlyfailed:number
Defined in: packages/workflow-engine/src/kernel/commands.ts:372
Events this flush claimed but could not publish and which the next
flush will retry — the ones whose emit threw, plus the later events
of those same runs, held back so nothing is redelivered out of order.
They were released (their publishedAt cleared), so this is a
delivery-lag signal, not data loss. Events that exhausted their retry
budget in this same pass are not counted here; they are deadLettered.
published
readonlypublished:number
Defined in: packages/workflow-engine/src/kernel/commands.ts:363