Skip to main content

Mountain/IPC/WindServiceHandlers/UI/
LifecycleRequestShutdown.rs

1#![allow(unused_variables)]
2
3//! Wire method: `lifecycle:requestShutdown`.
4
5use serde_json::Value;
6use tauri::AppHandle;
7
8pub async fn Fn(ApplicationHandle:AppHandle) -> Result<Value, String> {
9	ApplicationHandle.exit(0);
10
11	Ok(Value::Null)
12}