Closed filipecabaco closed 1 month ago
Perhaps the non-worker part of the lib should send a message to alert the worker to stop (and possibly to start again on reconnect). Also curious if the server part is able to cleanup resources effectively if it still receives heartbeat.
What kind of change does this PR introduce?
Adds Web Workers as a way to run heart beat on Realtime to avoid suspending the tab.