Exemple #1
0
        protected override async Task ExecuteAsync(CancellationToken stoppingToken)
        {
            while (!stoppingToken.IsCancellationRequested)
            {
                await _service.DoNothingAsync();

                await Task.Delay(Delay, stoppingToken);
            }
        }