Example #1
0
 public async Task RunAsync(CancellationToken stoppingToken)
 {
     await Task.WhenAll(
         ProcessEventsAsync(stoppingToken),
         Server.AcceptConnectionsAsync(stoppingToken));
 }