Skip to content
DocsTry Aspire
DocsTry

ResourceNotificationService.waitForResourceState

Method
📦 Aspire.Hosting v13.4.0
interface ResourceNotificationService {
// ... omitted for brevity
waitForResourceState(
resourceName: string,
targetState?: string): void;
}

Signature

methodwaitForResourceState
Waits for a resource to reach a specified state.
waitForResourceState(
resourceName: string,
targetState?: string): void
resourceNamestring
targetStatestringoptional

Defined on

This method is defined on the following type: