Пример #1
0
        protected override Task ExecuteAsync(CancellationToken stoppingToken)
        {
            stoppingToken.ThrowIfCancellationRequested();

            _rabbitService.Listen();

            return(Task.CompletedTask);
        }