Skip to main content

subscribe_turn_events

Function subscribe_turn_events 

Source
fn subscribe_turn_events(
    events: &Sender<Result<PilotEvent, String>>,
    reply_generation: &Arc<AtomicU64>,
) -> ReceiverStream<Result<PilotEvent, Status>>
Expand description

Give each SubmitTask caller its own view of the active supervisor stream. A caller is complete after one user-facing FinalText, while the underlying supervisor and its long-running RTDL trees may remain alive for later input.