24 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)
860var waitForDependency = app.ResourceNotifications.WaitForDependenciesAsync(dependent.Resource, cts.Token);
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
931await resourceNotificationService.WaitForDependenciesAsync(migrationResource, context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.EntityFrameworkCore.Tests (2)
EFBuildReadinessTests.cs (2)
84() => app.ResourceNotifications.WaitForDependenciesAsync(project.Resource, token)); 118() => app.ResourceNotifications.WaitForDependenciesAsync(project.Resource, token));
Aspire.Hosting.Tests (15)
ResourceNotificationTests.cs (13)
525var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 580() => notificationService.WaitForDependenciesAsync(resource, CancellationToken.None)).DefaultTimeout(); 611() => notificationService.WaitForDependenciesAsync(resource, CancellationToken.None)).DefaultTimeout(); 629var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 685var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 739var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 779var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 819var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 857var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 890var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 929var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 961var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 1065var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token);
WaitForTests.cs (2)
827var waitTask = notificationService.WaitForDependenciesAsync(containerResource.Resource, cts.Token); 877var waitTask = notificationService.WaitForDependenciesAsync(containerResource.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);