pub(super) async fn invoke_provider<F, T>(
application_handle: AppHandle<Wry>,
handler: F,
) -> Result<Value, String>where
F: FnOnce(Arc<dyn LanguageFeatureProviderRegistry>) -> T,
T: Future<Output = Result<Value, CommonError>>,Expand description
A generic helper to reduce boilerplate in language feature command handlers.