Skip to content

@graphty/graphty-element / session / RUN_STATUSES

Variable: RUN_STATUSES ​

const RUN_STATUSES: readonly ["queued", "running", "succeeded", "failed", "canceled", "removed"]

Defined in: graphty-element/src/session/runs/types.ts:73

Where a run is in its life.

"canceled" and "failed" are separate because a consumer treats them differently: a cancel is something a person did and needs no apology, a failure is something the consumer has to report. A time-boxed run that stopped early is neither -- it SUCCEEDS with partial set.

"removed" is a finished run that undo has taken out of the project, or that runs.remove took away: its handle reports no result until a redo brings the run back.