Skip to main content

capture_resolution_effects

Function capture_resolution_effects 

Source
fn capture_resolution_effects(
    attempted_sid: String,
    held_error_line: Option<String>,
    sid: String,
    is_confirmed_success: bool,
) -> Vec<ResumeEffect>
Expand description

Effects of a SessionCaptured that resolves tracking (a different sid, or a confirmed success): flush any held error line, then emit the session outcome.