Skip to main content

spawn_holder

Function spawn_holder 

Source
pub fn spawn_holder(
    registry: &Registry,
    browser_name: &str,
    target_id: &str,
    timeout: Duration,
) -> Result<(u32, bool)>
Expand description

Start a detached holder for the tab that expires after timeout, or return the existing one. Returns (pid, created).