13 references to WaitOnResourceUnavailable
Aspire.Hosting (6)
ApplicationModel\ResourceNotificationService.cs (3)
233/// When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified the wait operation 318WaitBehavior.WaitOnResourceUnavailable => snapshot.HealthStatus == HealthStatus.Healthy, 466WaitBehavior.WaitOnResourceUnavailable => snapshot.State?.Text == KnownResourceStates.Running,
DistributedApplicationBuilder.cs (1)
448o.DefaultWaitBehavior = options.DisableDashboard ? WaitBehavior.StopOnResourceUnavailable : WaitBehavior.WaitOnResourceUnavailable;
ResourceBuilderExtensions.cs (2)
2798/// wait operation. When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified, the wait 2921/// wait operation. When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified, the wait
Aspire.Hosting.Tests (7)
ResourceNotificationTests.cs (2)
1589[InlineData(WaitBehavior.WaitOnResourceUnavailable)] 1859var waitTask = notificationService.WaitForResourceHealthyAsync("does-not-exist", WaitBehavior.WaitOnResourceUnavailable, cts.Token);
WaitForTests.cs (5)
271WaitBehavior.WaitOnResourceUnavailable 280[InlineData(WaitBehavior.WaitOnResourceUnavailable, typeof(TimeoutException), "The operation has timed out.")] 354.WaitFor(dependency, WaitBehavior.WaitOnResourceUnavailable); 395o.DefaultWaitBehavior = WaitBehavior.WaitOnResourceUnavailable; 861.WaitFor(dependency, WaitBehavior.WaitOnResourceUnavailable)