fn.call

Function tauri::​call

pub fn call(
    webview: &mut Webview, 
    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.