79383755

Date: 2025-01-24 09:01:15
Score: 1
Natty:
Report link

This is how i was able to call a blocking non-async function in tauri-rust.

let _ = tauri::async_runtime::spawn_blocking(move || {
    println!("Listening...");
    let res = service.listen(tx);
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abdush