NodeStatusUpdate
Defined in: packages/sdk/src/run-with-progress.ts:21
单个节点的状态变化(由 node:started / node:finished / node:failed 派生)
Properties
Section titled “Properties”nodeId
Section titled “nodeId”nodeId:
string
Defined in: packages/sdk/src/run-with-progress.ts:23
节点 ID
status
Section titled “status”status:
NodeRunStatus
Defined in: packages/sdk/src/run-with-progress.ts:25
运行态
error?
Section titled “error?”
optionalerror?:string
Defined in: packages/sdk/src/run-with-progress.ts:27
失败原因(status === ‘failed’ 时给出)
duration?
Section titled “duration?”
optionalduration?:number
Defined in: packages/sdk/src/run-with-progress.ts:29
执行耗时(ms,status === ‘success’ 时给出)