cancelHeartBeatTimer method

dynamic cancelHeartBeatTimer()

Implementation

cancelHeartBeatTimer() {
  if (_heartBeatScheduler.hasPendingTimer || _heartBeatScheduler.isInFlight) {
    TCICLog.info('cancelHeartBeatTimer', actionModule: ActionModule.tcicController.name, actionName: ActionName.cancelHeartBeat.name);
    _heartBeatScheduler.stop();
  }
  _heartBeatFailureCount = 0;
  _networkTipsObs.clearHeartbeatTip();
}