Skip to main content

drive_resumed_broker_action

Function drive_resumed_broker_action 

pub fn drive_resumed_broker_action(
    config: &Config,
    engine: Arc<Mutex<SopEngine>>,
    audit: Option<Arc<SopAuditLogger>>,
    outcome: &BrokerOutcome,
)
Expand description

Drive a broker-approved run from a headless approval surface.

Every transport that resolves through SopEngine::resolve_via_broker calls this instead of independently extracting Resolved(Resumed(_)). That keeps the transport response separate from the lifecycle obligation to schedule the resumed action.