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)
61await service.StopAsync(); 89await service.StopAsync(); 134await service.StopAsync(); 162await service.StopAsync(); // Trigger cancellation 175await service.StopAsync(); 215await service.StopAsync(); 380await service.StopAsync(); 440await service.StopAsync(); 480await service.StopAsync(); 649await service.StopAsync(); 686await service.StopAsync(); 730await service.StopAsync();