Skip to main content

dispatch_sop_event_to

Function dispatch_sop_event_to 

pub async fn dispatch_sop_event_to(
    engine: &Arc<Mutex<SopEngine>>,
    audit: &SopAuditLogger,
    event: SopEvent,
    target_sop: &str,
) -> Vec<DispatchResult>
Expand description

Dispatch an incoming event to one named SOP, after normal trigger matching. This is useful for channel routers that already selected a configured SOP name, while still requiring that SOP to declare a matching trigger.