Interface: ActiveWorkStats
Defined in: packages/workflow-engine/src/persistence/interface.ts:328
What PersistenceCore.getActiveWorkStats reports.
Properties
outbox
outbox:
object
Defined in: packages/workflow-engine/src/persistence/interface.ts:341
deadLettered
deadLettered:
number
Events moved to the dead-letter queue and not yet replayed.
oldestUnpublishedAt
oldestUnpublishedAt:
Date|null
occurredAt of the oldest of those, or null when there are none.
unpublished
unpublished:
number
Events the next flush will deliver: not published, not dead-lettered.
runs
runs:
object
Defined in: packages/workflow-engine/src/persistence/interface.ts:329
byStatus
byStatus:
ActiveStatusCounts
oldestPendingCreatedAt
oldestPendingCreatedAt:
Date|null
createdAt of the oldest PENDING run, or null when none is pending.
stages
stages:
object
Defined in: packages/workflow-engine/src/persistence/interface.ts:334
byStatus
byStatus:
ActiveStatusCounts
oldestSuspendedDueAt
oldestSuspendedDueAt:
Date|null
The earliest nextPollAt among those due stages, or null when none is due.
suspendedDue
suspendedDue:
number
SUSPENDED stages whose nextPollAt is at or before now.