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(); 380await service.StopAsync(); 440await service.StopAsync(); 480await service.StopAsync(); 649await service.StopAsync(); 686await service.StopAsync(); 730await service.StopAsync();