Hi, Is there a listener for detecting Meteor client-side DDP disconnection?
If I got the correct listener, I’m going to call DDP.connect() from the client side. Will connect again?
Hi, Is there a listener for detecting Meteor client-side DDP disconnection?
If I got the correct listener, I’m going to call DDP.connect() from the client side. Will connect again?
Check the connection object return value of Meteor.onConnection
Thanks for the quick response. Is Meteor.onConnection
available for client side?
You are correct. It is not. Instead, you should monitor Meteor.status and then issue a reconnect from client when it disconnects. Same link