Skip to content
Docs Try Aspire

WaitBehavior

Enum net8.0
📦 Aspire.Hosting v13.2.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.