Skip to main content

Module control_session

Module control_session 

Source
Expand description

The shell’s “an AI assistant is in control” indicator, platform side.

The control runtime decides when a session is running and what Stop does; it sits above this crate, so it hands the Stop action down as a handler and each desktop shell calls request_control_session_stop when the user presses Stop.

Functions§

request_control_session_stop
The user pressed Stop. Returns whether anything handled it.
set_control_session_stop_handler
Install what the indicator’s Stop button does.

Type Aliases§

ControlSessionStopHandler