Interface: EngineStatsCommand
Defined in: packages/workflow-engine/src/kernel/commands.ts:747
Reads the state of active work: runs, stages, jobs and outbox events that
still need something to happen. Read-only: no transaction, no outbox
event, no idempotency key. Bounded: it counts rows in PENDING, RUNNING and
SUSPENDED (and unpublished or dead-lettered outbox rows) through the
optional Persistence.getActiveWorkStats and JobTransport.getJobStats
methods, and never counts terminal rows.
The figures come from separate queries, not one snapshot: work that moves while they run can be counted in two places or in none.
Properties
type
readonlytype:"engine.stats"
Defined in: packages/workflow-engine/src/kernel/commands.ts:748