DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/WindServiceHandlers/ExtensionHost/
DebugServiceReload.rs1use serde_json::{Value, json};
6use tauri::{AppHandle, Emitter};
7use CommonLibrary::IPC::SkyEvent::SkyEvent;
8
9pub async fn Fn(ApplicationHandle:AppHandle) -> Result<Value, String> {
10 crate::dev_log!("exthost", "extensionhostdebugservice:reload");
11
12 if let Err(Error) = ApplicationHandle.emit(SkyEvent::ExtHostDebugReload.AsStr(), json!({})) {
13 crate::dev_log!("exthost", "warn: extensionhostdebugservice:reload emit failed: {}", Error);
14 }
15
16 Ok(Value::Null)
17}