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)
859var 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)
83() => app.ResourceNotifications.WaitForDependenciesAsync(project.Resource, token)); 115() => app.ResourceNotifications.WaitForDependenciesAsync(project.Resource, token));
Aspire.Hosting.Tests (15)
ResourceNotificationTests.cs (13)
415var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 470() => notificationService.WaitForDependenciesAsync(resource, CancellationToken.None)).DefaultTimeout(); 501() => notificationService.WaitForDependenciesAsync(resource, CancellationToken.None)).DefaultTimeout(); 519var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 575var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 629var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 669var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 709var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 747var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 780var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 819var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 851var waitTask = notificationService.WaitForDependenciesAsync(resource, cts.Token); 955var 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);