Skip to content

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


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

Type Alias: PolicyDecision

PolicyDecision = { action: "proceed"; } | { action: "retry"; delayMs: number; } | { action: "skip"; } | { action: "abort"; reason: string; } | { action: "pause"; reason: string; }

Defined in: layer4/types.ts:151

策略引擎决策:继续 / 重试 / 跳过 / 中止 / 暂停。

MIT Licensed