Skip to main content

Mountain/IPC/WindServiceHandlers/ExtensionHost/
StarterCreate.rs

1#![allow(unused_variables, dead_code, unused_imports)]
2
3//! Wire method: `extensionHostStarter:createExtensionHost`.
4//! Allocates a stub extension-host ID for VS Code's starter protocol.
5
6use serde_json::{Value, json};
7
8pub async fn Fn(_Arguments:Vec<Value>) -> Result<Value, String> {
9	crate::dev_log!("exthost", "extensionHostStarter:createExtensionHost");
10
11	Ok(json!({ "id": "1" }))
12}