Skip to main content

Mountain/Binary/IPC/HealthCommand/
shared_process_service_health.rs

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