Skip to content
Docs Try Aspire
Docs Try

waitFor

Method
📦 Aspire.Hosting v13.2.0
interface ContainerResource {
// ... omitted for brevity
waitFor(dependency: IResource): IResourceWithWaitSupport;
}

Signature

method waitFor builder
Waits for another resource to be ready
waitFor(dependency: IResource): IResourceWithWaitSupport
dependency IResource
IResourceWithWaitSupport

Applies to

This method applies to the following types: