Please read before marking this as a duplicate.
If I have setInterval running, the timer runs more or less consistently when the page is open, but if I open another application or another tab, the timer becomes about twice as slow. If I remember correctly, this has something to do with the computer prioritizing resources for the application/tab that's currently open.
Is there a way to let the timer run without slowing down once another tab or application is open?
The reason for a consistent timer is to broadcast data consistently. I have an app where an employer monitors employees through timers that the employees start. The data is broadcasted successfully, but the rate is slower once the employee opens another application.