pub(crate) async fn create_block_in_tab(
state: &AppState,
tab_id: &str,
meta: Value,
caller: &str,
) -> Result<String, String>Expand description
A new block in tab_id with meta, through the reducer (never the store alone: a block the reducer does not
know cannot be torn off or redocked later). caller starts its messages (“pane.open”, “agent.open”), followed by
“: CreateBlock”. The block has no place in the layout yet: placing it is the caller’s next step.