17 references to WaitForDependenciesAsync
Aspire.Hosting (2)
Ats\NotificationExports.cs (1)
71return notificationService.WaitForDependenciesAsync(resource.Resource, CancellationToken.None);
Orchestrator\ApplicationOrchestrator.cs (1)
174var waitForDependenciesTask = _notificationService.WaitForDependenciesAsync(@event.Resource, cts.Token);
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
850await resourceNotificationService.WaitForDependenciesAsync(migrationResource, context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (11)
ResourceNotificationTests.cs (11)
369var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 417var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 473var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 527var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 567var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 607var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 645var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 678var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 717var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 749var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 853var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token);
Testing.Tests (3)
WaitFailures.cs (3)
206await app.ResourceNotifications.WaitForDependenciesAsync(consumer.Resource, cts.Token); 232await app.ResourceNotifications.WaitForDependenciesAsync(consumer.Resource, cts.Token); 256await app.ResourceNotifications.WaitForDependenciesAsync(consumer.Resource, cancellationToken: cts.Token);