[][src]Function tauri::execute_promise_sync

pub fn execute_promise_sync<T: 'static, F: FnOnce() -> Result<String> + Send + 'static>(
    webview: &mut WebView<T>,
    task: F,
    callback: String,
    error: String
)