Esempio n. 1
0
        public override async Task StopAsync(CancellationToken cancellationToken)
        {
            _logger.LogInformation("Stopping worker");
            _twitchService.Disconnect("itshafu");
            await Task.Delay(1 * 1000);

            _logger.LogInformation($"Worker stopped at: {DateTime.UtcNow} UTC.");
        }