Skip to main content

Type Alias: RunStatus

RunStatus = "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED" | "TERMINATED" | "TIMED_OUT" | "CONTINUED_AS_NEW"

The pure state machine of a durable-function run (DB3): what a command batch appends (eventsForCommands), and what a run looks like after a history (applyEvent, projectRunState). The service appends exactly the events this module returns, the test environment is built on it, and the conformance fixtures check both against the runtime.

Nothing here needs a database: the service adds node-type installation, connection resolution, target lookups and caps on top.