Exemplo n.º 1
0
 public async Task Execute(CancellationToken stoppingToken)
 {
     foreach (var type in MessageTypes.BySubscriber(MessageSubscriber.Controllers))
     {
         await _bus.Subscribe(type).ConfigureAwait(false);
     }
 }