Skip to content
DocsTry Aspire
DocsTry

WaitBehavior

Enumnet8.0
📦 Aspire.Hosting v13.4.0
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.