Skip to main content

handle_discard_workspace_on_close

Function handle_discard_workspace_on_close 

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

window.DiscardWorkspaceOnClose(windowId): remove an open window from the workspace. Its close, which the window starts next, deletes its contents instead of keeping them. The only open window can’t be removed.