Skip to main content

Mountain/IPC/WindServiceHandlers/ExtensionHost/
StarterWaitForExit.rs

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