Skip to main content

apply_pane_tab_command

Function apply_pane_tab_command 

Source
async fn apply_pane_tab_command(
    state: &AppState,
    op: &str,
    block_id: &str,
    cmd: impl FnOnce(String) -> Command,
) -> Result<(String, bool), String>
Expand description

Resolve block_id’s tab, then dispatch cmd → mstore → publish, the shape every pane-tab RPC shares. Returns the tab and whether the reducer changed anything.