3 ms·
Croner – Cron for JavaScript and TypeScript
- Maxion 3y ago> this._states.currentTimeout = setTimeout(() => this._checkTrigger(target), waitMs); So, uh, this seems like it's just a wrapper around setTimeout? I.e. croner will still also not work properly for shorter timeouts when the browser window is not in focus.
- theogravity 3y agoI'd use this to address the issue https://www.npmjs.com/package/worker-timers https://www.npmjs.com/package/worker-timers