Skip to main content

current_state

Function current_state 

Source
pub fn current_state(mstore: &Store, block_id: &str) -> Option<AgentState>
Expand description

The block’s state now: its controller’s runtime status and the block’s term:awaiting_user and agent:last_failure. None without a controller (unless its launch stopped at “needs sign-in”: signed_out), or when the block can’t be read.