TaskOutput interface
屬性
| completed |
工作完成的時間。 |
| id | 工作的唯一標識碼。 |
| last |
上次更新工作狀態的時間。 |
| metadata | 工作的唯一屬性。 這與工作類型不同。 |
| phase | 工作處於中的階段。 可能的值:“running”、“polling”、“complete” |
| reason | 如果工作未完成,工作已移至其目前狀態的原因。 |
| started |
工作開始的時間。 |
| state | 工作的狀態。 可能的值:“pending”、“running”、“paused”、“complete”、“complete”、“complete”、“failed”、“warning” |
屬性詳細資料
completedAt
工作完成的時間。
completedAt?: string
屬性值
string
id
工作的唯一標識碼。
id: string
屬性值
string
lastPolledAt
上次更新工作狀態的時間。
lastPolledAt?: string
屬性值
string
metadata
工作的唯一屬性。 這與工作類型不同。
metadata?: Record<string, any>
屬性值
Record<string, any>
phase
工作處於中的階段。
可能的值:“running”、“polling”、“complete”
phase?: string
屬性值
string
reason
如果工作未完成,工作已移至其目前狀態的原因。
reason?: string
屬性值
string
startedAt
工作開始的時間。
startedAt?: string
屬性值
string
state
工作的狀態。
可能的值:“pending”、“running”、“paused”、“complete”、“complete”、“complete”、“failed”、“warning”
state?: string
屬性值
string