Emulate offline mode in meteor?

Is there a way to disconnect the client from the server and reconnect based on an action(a button maybe) ? I have this project that works both offline and online and I want to be able to go to those mode on demand :slight_smile:

Maybe a custom way to close the current socket to the server ?

Why you donโ€™t use DevTools to simulate slow connection & offline mode?

I donโ€™t want to simulate - I want to be able to close the socket and tell it not to try to reconnect until I say so



Life saver :slight_smile: thank you @arunoda