Skip to content
DocsTry Aspire
DocsTry

IResourceWithWaitSupport.waitFor

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

Signature

methodwaitForbuilder
Waits for another resource to be ready
waitFor(
dependency: IResource,
waitBehavior?: WaitBehavior): IResourceWithWaitSupport
dependencyIResource
waitBehaviorWaitBehavioroptional
IResourceWithWaitSupport

Defined on

This method is defined on the following type: