prose-app-web
prose-app-web copied to clipboard
Connection is resumed way too late when macOS app recovers from sleep mode
See https://www.npmjs.com/package/worker-timers
Possibly, we'd need to move the whole connection state management and WebSocket connection to a Web Worker as well.
This would fix the "sleeping app" issue in Safari/Tauri where the browser runtime requires user interaction to resume some event loop tasks, thus resuming the XMPP WebSocket connection.