DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/WindServiceHandlers/UI/KeybindingGetAll.rs
1//! Wire method: `keybinding:getAll`.
2
3use std::sync::Arc;
4
5use serde_json::{Value, json};
6
7use crate::RunTime::ApplicationRunTime::ApplicationRunTime;
8
9pub async fn Fn(RunTime:Arc<ApplicationRunTime>) -> Result<Value, String> {
10 let All = RunTime.Environment.ApplicationState.Feature.Keybindings.GetAllKeybindings();
11
12 Ok(json!(All))
13}