How to I call async tauri commands from leptos UI that return some value?
The documentation and example code showcase the usage when the command does not return a value. They rely on leptos::spawn_local
to call the invoke
function of tauri.
The documentation and example code showcase the usage when the command does not return a value. They rely on leptos::spawn_local
to call the invoke
function of tauri.