Skip to content

Commit

Permalink
feat: add remaining workflow instance status types
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisDuarte1 committed Oct 18, 2024
1 parent bfb7fce commit 5b17f09
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions types/defines/workflows.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ declare abstract class Workflow {

type InstanceStatus = {
status:
| "queued"
| "queued" // means that instance is waiting to be started (see concurrency limits)
| "running"
| "paused"
| "errored"
| "terminated"
| "terminated" // user terminated the instance while it was runnign
| "complete"
| "waiting" // instance is hibernating and waiting for sleep or event to finish
| "waitingForPause" // instance is finishing the current work to pause
| "unknown";
error?: string;
output?: object;
Expand Down

0 comments on commit 5b17f09

Please sign in to comment.