Example #1
0
 /// <summary>
 /// Called when the application is stopping
 /// </summary>
 /// <returns>A task that completes when the application is successfully stopped</returns>
 public async Task StopAsync()
 {
     _logger.Information($"Stopping {nameof(AppService)}");
     await _consumerManager.StopAsync();
 }