quote:It's often the case that you'll want to reset the state ofany shared model once a reconnect occurs, since you'll re-sync allof the messages on the service again. For example, SimpleChatModelshould clear its history, since it's about to re-receive allprevious messages. In order to detect a reco...