Skip to main content

host_to_ask_user

Function host_to_ask_user 

Source
pub(crate) async fn host_to_ask_user(
    state: &AppState,
) -> Result<HostIpc, String>
Expand description

The host that can put a question to the user and relay their answer. Only the host can: agents hold the key srv’s own routes take (see ask_user). With none connected (headless) there is no one to ask, and whatever needs the answer must not happen, nor wait for one.