DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/WindServiceHandlers/Update/GetInitialState.rs
1//! Wire method: `update:_getInitialState`.
2//! Returns `{ type: "idle" }` so the workbench renders "up to date".
3
4use serde_json::{Value, json};
5
6pub async fn Fn() -> Result<Value, String> {
7 crate::dev_log!("update", "update:_getInitialState");
8
9 Ok(json!({ "type": "idle", "updateType": 0 }))
10}