OptionalselectorDescription: stringOptionalfn: StageHandler<TOut, TScope>Optionaldescription: stringOptionaloptions: { retry?: RetryPolicy; tags?: readonly string[]; touches?: StageTouches }
OptionalmountName: stringOptionaloptions: SubflowMountOptions<any, any, any>Add a pausable stage as a selector branch.
When this branch is selected, the handler's execute runs. If it returns
data, the pipeline pauses. On resume, handler.resume runs with the
human's input. If execute returns void, the stage continues normally.
Optionaldescription: stringOptionaloptions: { retry?: RetryPolicy; tags?: readonly string[]; touches?: StageTouches }
{ retry } gives THIS BRANCH's execute half a retry policy (the
resume half runs without it — a different function, a different
contract); { tags } puts declared tags on it.
OptionalmountName: stringOptionaloptions: SubflowMountOptions<any, any, any>
{ retry }gives THIS BRANCH's stage a declarative retry policy;{ tags }puts declared tags on it (seeFlowChartBuilder.tag).