Mountain/IPC/WindServiceHandlers/ExtensionHost/StarterWaitForExit.rs
1#![allow(unused_variables, dead_code, unused_imports)]
2
3//! Wire method: `extensionHostStarter:waitForExit`.
4//! Resolves when the extension host exits. Returns stub exit-info so callers
5//! do not hang - Cocoon runs indefinitely while Mountain is alive.
6
7use serde_json::{Value, json};
8
9pub async fn Fn(_Arguments:Vec<Value>) -> Result<Value, String> {
10 crate::dev_log!("exthost", "extensionHostStarter:waitForExit");
11
12 Ok(json!({ "code": null, "signal": null }))
13}