It can be a problem calling in a setInterval?

Hi guys, im calling"xxx") on the client, in a setInterval function every half a second, 500ms.

It can be a problem in the browser after a while? For me it works perfectly, and seems like browser responds good.


Well, if you have many clients and you are calling the method unnecessarily it will impact performance. Mind sharing why you do this?

1 Like