Socket.io Client side, is there a way to keep rece

2019-08-12 09:33发布

问题:

is there a way to keep receiving data when lost focus on the broswer on Socket.io Client side?

I'm making a multiplayer game test with html5 and nodejs as server, everything works fine, but i have the case that if the client (the game), lost the focus, for example move to another windows or tab, it stops receiving information, then when a i focus again a receive all the data on the queue