Skip to main content

handle_switch

Function handle_switch 

Source
pub(crate) async fn handle_switch(
    state: &AppState,
    call: &WebCallType,
) -> WebReturnType
Expand description

workspace.SwitchUserWorkspace(workspaceId, windowId): switch to another workspace from window windowId. Returns {id, name, closed: [{window_id, label}], beside}: the windows for the host to close, and how many wait to open beside this one (TakeRestoredWindows).