Skip to main content

starts_the_agent

Function starts_the_agent 

Source
fn starts_the_agent(allowed: bool) -> bool
Expand description

Whether a message to an agent with no process starts it: the shared decision (Intent::Start) for a stopped agent, allowed being the setting and the sender. Every caller has already found the agent absent (held as NotRunning, or not registered anywhere), so that is the status it is asked about.