11 references to WaitOnResourceUnavailable
Aspire.Hosting (6)
ApplicationModel\ResourceNotificationService.cs (3)
228/// When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified the wait operation 289WaitBehavior.WaitOnResourceUnavailable => snapshot.HealthStatus == HealthStatus.Healthy, 437WaitBehavior.WaitOnResourceUnavailable => snapshot.State?.Text == KnownResourceStates.Running,
DistributedApplicationBuilder.cs (1)
423o.DefaultWaitBehavior = options.DisableDashboard ? WaitBehavior.StopOnResourceUnavailable : WaitBehavior.WaitOnResourceUnavailable;
ResourceBuilderExtensions.cs (2)
2407/// wait operation. When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified, the wait 2530/// wait operation. When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified, the wait
Aspire.Hosting.Tests (5)
ResourceNotificationTests.cs (1)
1401var waitTask = notificationService.WaitForResourceHealthyAsync("does-not-exist", WaitBehavior.WaitOnResourceUnavailable, cts.Token);
WaitForTests.cs (4)
270WaitBehavior.WaitOnResourceUnavailable 279[InlineData(WaitBehavior.WaitOnResourceUnavailable, typeof(TimeoutException), "The operation has timed out.")] 353.WaitFor(dependency, WaitBehavior.WaitOnResourceUnavailable); 394o.DefaultWaitBehavior = WaitBehavior.WaitOnResourceUnavailable;