Skip to main content

release_block

Function release_block 

Source
pub(crate) fn release_block(
    state: &AppState,
    block_id: &str,
    to: &str,
) -> Result<(), String>
Expand description

Let go of one pane’s agent for another instance: gracefully stop its CLI (a turn in flight finishes, then it is killed at RELEASE_GRACE) and say so in the pane. Err when this pane holds nothing.