Skip to main content

detach_handoff

Function detach_handoff 

Source
pub(crate) fn detach_handoff(
    state: &AppState,
    who: Handoff<'_>,
    raised: Raised,
    tracked: Tracked,
    wait: Duration,
    started: Instant,
) -> Response
Expand description

The call that raised a hand-off returns “waiting” now; a task of srv’s waits on for the person’s Done or Cancel, records it as the call used to and tells the agent how it went.