共用方式為


RunState type

定義 RunState 的值。

type RunState =
  | "Running"
  | "Canceling"
  | "Succeeded"
  | "PartiallySucceeded"
  | "Failed"
  | "Canceled"