Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

WaitBehavior

Enumnet10.0
📦 Aspire.Hosting v13.5.3
Specifies the behavior of the wait.
namespace Aspire.Hosting.ApplicationModel;
public enum WaitBehavior
WaitOnResourceUnavailable= 0
If the resource is unavailable, continue waiting.
StopOnResourceUnavailable= 1
If the resource is unavailable, stop waiting.