Skip to main content

agent_state

Function agent_state 

Source
pub fn agent_state<'a>(
    view: &'a CloudView,
    name: &str,
    own_wan_id: Option<&str>,
    now_ms: u64,
) -> Option<&'a str>
Expand description

The state (working, waiting, idle, stopped, error) the list gives the agent called name, whatever the case, from the newest record that is shown (see [shown]) and has the agent. None when no such record has it, or that record says no state (one from before states).