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

            await base.StopAsync(cancellationToken);
        }
示例#2
0
 public Task StopAsync(CancellationToken cancellationToken)
 {
     logger.LogInformation($"Stop listening bus at {DateTimeOffset.Now}");
     return(handleReceiver.StopAsync(cancellationToken));
 }