Skip to main content

Interface: OutboxFlushResult

Defined in: packages/workflow-engine/src/kernel/commands.ts:362

Result of an outbox.flush command.

Properties​

deadLettered​

readonly deadLettered: 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?​

readonly optional eventSinkError?: string

Defined in: packages/workflow-engine/src/kernel/commands.ts:382

Message of the first publish failure of this flush, when degraded.


eventSinkStatus​

readonly eventSinkStatus: EventSinkStatus

Defined in: packages/workflow-engine/src/kernel/commands.ts:380

"degraded" when at least one event could not be published.


failed​

readonly failed: 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​

readonly published: number

Defined in: packages/workflow-engine/src/kernel/commands.ts:363