共用方式為


JobStatus type

定義 JobStatus 的值。

type JobStatus =
  | "unknown"
  | "enqueued"
  | "running"
  | "completed"
  | "failed"
  | "cancelled"