Skip to content

NodeStatusUpdate

Defined in: packages/sdk/src/run-with-progress.ts:21

单个节点的状态变化(由 node:started / node:finished / node:failed 派生)

nodeId: string

Defined in: packages/sdk/src/run-with-progress.ts:23

节点 ID


status: NodeRunStatus

Defined in: packages/sdk/src/run-with-progress.ts:25

运行态


optional error?: string

Defined in: packages/sdk/src/run-with-progress.ts:27

失败原因(status === ‘failed’ 时给出)


optional duration?: number

Defined in: packages/sdk/src/run-with-progress.ts:29

执行耗时(ms,status === ‘success’ 时给出)