pub fn run(agent: Arc<dyn TextAgent>, mode: Mode) -> StepActionExpand description
Build a step-enter action that runs agent in mode when the step first
activates. Pair with FlowMonitor::on_enter.
ⓘ
let mon = FlowMonitor::new(flow, Enforcement::Enforce)
.on_enter("check", run(availability_agent, AgentMode::Dispatch));