start method

  1. @override
Future<void> start()

Starts the periodic reprovider timer.

If the reprovider is disabled in configuration, no timer is scheduled.

Implementation

@override
Future<void> start() async {
  _isPaused = false;
  if (!_config.reproviderEnabled) {
    _logger.info('Reprovider is disabled by configuration');
    return;
  }

  _logger.info(
    'Starting Reprovider: strategy=$_strategy, interval=${_config.reproviderInterval}',
  );
  _scheduleTimer();
}