[][src]Function tauri::call

pub fn call<T: 'static>(
    webview: &mut WebView<T>,
    command: String,
    args: Vec<String>,
    callback: String,
    error: String
)

Calls the given command and evaluates its output to the JS promise described by the callback and error function names.