Implemented interface member:
method
StopAsync
Microsoft.Extensions.Hosting.IHostedService.StopAsync(System.Threading.CancellationToken)
12 references to StopAsync
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (12)
HealthCheckPublisherHostedServiceTest.cs (12)
62await service.StopAsync(); 90await service.StopAsync(); 135await service.StopAsync(); 163await service.StopAsync(); // Trigger cancellation 176await service.StopAsync(); 216await service.StopAsync(); 381await service.StopAsync(); 441await service.StopAsync(); 481await service.StopAsync(); 650await service.StopAsync(); 687await service.StopAsync(); 731await service.StopAsync();