Skip to main content

is_the_agents_block

Function is_the_agents_block 

Source
fn is_the_agents_block(state: &AppState, uid: &str, block_id: &str) -> bool
Expand description

Whether block_id is the block start_agent runs for the agent uid, parked. Old layouts can hold several blocks for one agent and a start picks one by its own rule (a live process, then a pane over a parked block, then the lowest id): the checks for resuming have to be made on that block.