Skip to content
Docs Try Aspire
Docs Try

waitForStart

Method
📦 Aspire.Hosting v13.4.0
interface ContainerResource {
// ... omitted for brevity
waitForStart(
dependency: IResource,
waitBehavior?: WaitBehavior): IResourceWithWaitSupport;
}

Signature

method waitForStart builder
Waits for another resource to start
waitForStart(
dependency: IResource,
waitBehavior?: WaitBehavior): IResourceWithWaitSupport
dependency IResource
waitBehavior WaitBehavior optional
IResourceWithWaitSupport

Applies to

This method applies to the following types: