ResourceNotificationService.WaitForResourceState

Method
📦 Aspire.Hosting v17.0.0
type ResourceNotificationService interface {
// ... omitted for brevity
WaitForResourceState(
resourceName string,
options ...*WaitForResourceStateOptions,
) error
}

Signature

methodWaitForResourceState
Waits for a resource to reach a specified state.
WaitForResourceState(
resourceName string,
options ...*WaitForResourceStateOptions,
) error
resourceNamestring
options...*WaitForResourceStateOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WaitForResourceStateOptions argument.

TargetState*string
error

Returns error.

Defined on

This method is defined on the following type: