Skip to main content

Mountain/Binary/IPC/HealthCommand/
shared_process_service_health.rs

1
2//! Tauri command - generic shared-process service health probe.
3//! Hard-coded readiness map for the three currently-shipped services
4//! (storage / update / search); unknown services return `false`.
5
6#[tauri::command]
7pub async fn shared_process_service_health(service:String) -> Result<bool, String> {
8	match service.as_str() {
9		"storage" | "update" | "search" => Ok(true),
10
11		_ => Ok(false),
12	}
13}