void onReconnect()

Source

void onReconnect() {
  if (disconnectTs != null) {
    node.configs.remove(r'$disconnectedTs');
    disconnectTs = null;
    changes.add(r'$disconnectedTs');
  }
}