#Frontend variable doesn't increment if the window is minimized.
12 messages ยท Page 1 of 1 (latest)
Afaik that's a webview optimization (at least on some platforms) that the webview gets frozen while it's not actively in view. Same kind of thing your browser does when you have a lot of tabs open at the same time
damn! no way around that, huh ๐ข
Yea, unfortunately I think so. Like I know we've talked about this at some point before in the discord and I believe this was the conclusion at least. There's nothing Tauri does at least that makes it stop executing
I thought so as well, before I stumbled upon this delightful module :) https://www.npmjs.com/package/worker-timers
Seems to work perfectly for my use case
Oh nice! Web workers to the rescue ๐
Yeah! It was either that or converting everything that didn't need to be converted to rust.
Join us in the dark side, we have Rust
That was the most "darth vader rusting" looking gif I found ๐
great gif