Skip to main content

for_agent

Function for_agent 

Source
pub(crate) async fn for_agent(
    broker: &Broker,
    name: Option<&str>,
) -> Result<AgentTarget, String>
Expand description

The connection an agent’s Shell or PtyShell call asked for, checked the same way a pane’s is (ensure), Err with the reason when it cannot run.