Skip to content
Docs Try Aspire

ResourceNotificationService.waitForResourceStates

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface ResourceNotificationService {
// ... omitted for brevity
waitForResourceStates(
resourceName: string,
targetStates: string[]): string;
}

Signature

method waitForResourceStates
Waits for a resource to reach one of the specified states
waitForResourceStates(
resourceName: string,
targetStates: string[]): string
resourceName string
targetStates string[]
string

Defined on

This method is defined on the following type: