ResourceNotificationService.WaitForResourceStates

Method
📦 Aspire.Hosting v17.0.0
type ResourceNotificationService interface {
// ... omitted for brevity
WaitForResourceStates(
resourceName string,
targetStates []string,
) (string, error)
}

Signature

methodWaitForResourceStates
Waits for a resource to reach one of the specified states.
WaitForResourceStates(
resourceName string,
targetStates []string,
) (string, error)
resourceNamestring
targetStates[]string
(string, error)

Returns (string, error).

Defined on

This method is defined on the following type: