Skip to main content

blocked_start

Function blocked_start 

Source
fn blocked_start(
    state: AgentRuntimeState,
    desired: AgentDesiredState,
    message_waits: bool,
    why: impl FnOnce() -> Option<String>,
) -> Option<String>
Expand description

Why a start would be refused, for an agent that is stopped and wanted running: its block says running, or a message waits for it. why is asked only then, because it reads every live agent.