Skip to main content

switch_to

Function switch_to 

Source
pub(crate) async fn switch_to(
    state: &AppState,
    target_id: &str,
    window_id: &str,
) -> Result<Switched, String>
Expand description

Switch to workspace target_id, reusing window window_id for its first window. See the module doc for the steps.