Skip to main content

desired_from

Function desired_from 

Source
pub fn desired_from(
    recorded: Option<&str>,
    state: AgentRuntimeState,
) -> AgentDesiredState
Expand description

What the agent’s block says it should be doing, when it says: a stop sets stopped, an open or a start running. An agent whose block records nothing is wanted as its state says.