Loading bar when doing computation on the backend? #4069
0ctopirate
started this conversation in
Ideas
Replies: 1 comment
-
You could emit events from inside your commands to report the current progress. Here's a slightly more complicated example (because it uses streams) from one of our plugins: https://github.com/tauri-apps/tauri-plugin-upload/blob/dev/src/lib.rs#L73
You can try making your command |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When trying to do large computation on the backend, it would be nice to display the status of the loop, but I'm not sure how you'd go about this. Maybe you could try to use generators?
Also, when the program is alt-tabbed and the backend is doing computation, you can't tab back into it. Is there any way to fix this?
Beta Was this translation helpful? Give feedback.
All reactions