Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WaitBehavior

Enum
📦 Aspire.Hosting v17.0.0

Specifies the behavior of the wait.

type WaitBehavior string
const (
WaitBehaviorWaitOnResourceUnavailable WaitBehavior = "WaitOnResourceUnavailable"
WaitBehaviorStopOnResourceUnavailable WaitBehavior = "StopOnResourceUnavailable"
)

Values

WaitBehaviorWaitOnResourceUnavailable"WaitOnResourceUnavailable"
If the resource is unavailable, continue waiting.
WaitBehaviorStopOnResourceUnavailable"StopOnResourceUnavailable"
If the resource is unavailable, stop waiting.