Skip to content

@graphty/graphty-element / session / RUN_PHASES

Variable: RUN_PHASES ​

const RUN_PHASES: readonly ["queued", "start", "progress", "end", "removed", "restored"]

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

The moments a watcher is told about: the four of a run's own life, and the two of history.

Coarser than RunStatus on purpose: a status bar draws the same thing for a run that failed and one that was cancelled -- it stops showing progress and reads the record -- so the distinction belongs in the record the notification carries rather than in the notification's own name. "removed" and "restored" are an undo, a redo or a restore taking a finished run out of the project and putting it back; nothing was computed for either.