Skip to content

uni-flow 公开 API(中文注解)


uni-flow 公开 API(中文注解) / ExecutionContext

Interface: ExecutionContext

Defined in: core/types.ts:173

RuntimeAdapter.execute 时的执行上下文(运行身份、组装上下文、abort、secrets)。

Properties

abortSignal

abortSignal: AbortSignal

Defined in: core/types.ts:187

取消信号。


assembledContext

assembledContext: AssembledContext

Defined in: core/types.ts:183

Layer4 组装后的上下文窗口。


runId

runId: string

Defined in: core/types.ts:177

本次 run id。


secrets

secrets: SecretRefMap

Defined in: core/types.ts:185

已解析的密钥表(勿回写到 SharedState / params)。


traceId

traceId: string

Defined in: core/types.ts:181

分布式追踪 id。


unitId

unitId: string

Defined in: core/types.ts:179

当前 Unit id。


workflowId

workflowId: string

Defined in: core/types.ts:175

工作流 id。

MIT Licensed