Skip to main content

extract_turn_completed

Function extract_turn_completed 

Source
pub fn extract_turn_completed(
    envelope: &Envelope,
) -> Option<TurnCompletedNotification>
Expand description

Parse one turn/completed notification into a typed payload. Allocation: clones ids and optional text. Complexity: O(n), n = text size.