public override async Task StopAsync(CancellationToken cancellationToken) { logger.LogInformation($"Stop listening bus at {DateTimeOffset.Now}"); await handleReceiver.StopAsync(cancellationToken); await base.StopAsync(cancellationToken); }
public Task StopAsync(CancellationToken cancellationToken) { logger.LogInformation($"Stop listening bus at {DateTimeOffset.Now}"); return(handleReceiver.StopAsync(cancellationToken)); }