pub(crate) fn handle_discard_workspace_on_close(
state: &AppState,
call: &WebCallType,
) -> WebReturnTypeExpand 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.