20 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.DevTunnels.Tests (1)
DevTunnelResourceBuilderExtensionsTests.cs (1)
818var waitForDependency = app.ResourceNotifications.WaitForDependenciesAsync(dependent.Resource, cts.Token);
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
936await resourceNotificationService.WaitForDependenciesAsync(migrationResource, context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.EntityFrameworkCore.Tests (2)
EFBuildReadinessTests.cs (2)
81() => app.ResourceNotifications.WaitForDependenciesAsync(project.Resource, token)); 113() => app.ResourceNotifications.WaitForDependenciesAsync(project.Resource, token));
Aspire.Hosting.Tests (11)
ResourceNotificationTests.cs (11)
415var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 463var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 519var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 573var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 613var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 653var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 691var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 724var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 763var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 795var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 899var 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);