On close or error is slow

This issue has been tracked since 2022-05-03.


I’m using the Ros.on(“error”) and Ros.on(“close”) to set a global State in my vue app whether it’s online or offline.

However, when testing (disabling Wi-Fi) it often takes a long time 1-3 minutes before the function is executed. Why is that? And what can I do to make it faster?

With Ros.on(“connected”) it seems to be instant.

More Details About Repo
Owner Name RobotWebTools
Repo Name roslibjs
Full Name RobotWebTools/roslibjs
Language JavaScript
Created Date 2013-03-15
Updated Date 2022-11-22
Star Count 549
Watcher Count 54
Fork Count 340
Issue Count 66


Issue Title Created Date Updated Date