Skip to main content

resolve_tab

Function resolve_tab 

Source
pub async fn resolve_tab(
    backend: &TabBackend,
    registry: &Registry,
    browser_name: &str,
    name: &str,
) -> Result<Option<TabRow>>
Expand description

Resolve <browser>/<name> to a live tab row for cross-command routing (eval, fetch, etc.). Returns Ok(None) if no row matches or the row’s target_id no longer exists in the browser (TabNotFound at the call site).