Closed lxndrdagreat closed 3 years ago
Need to have a ping-pong/heartbeat for when activity is low, otherwise websockets automatically close.
Using request animation frame isn't working in certain browsers when the tab loses focus. Need to do something else.
Switching this to use setInterval.
setInterval
Need to have a ping-pong/heartbeat for when activity is low, otherwise websockets automatically close.