Skip to content
Docs Try Aspire
Docs Try

IResourceWithWaitSupport.waitFor

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

Signature

method waitFor builder
Waits for another resource to be ready
waitFor(
dependency: IResource,
waitBehavior?: WaitBehavior): IResourceWithWaitSupport
dependency IResource
waitBehavior WaitBehavior optional
IResourceWithWaitSupport

Defined on

This method is defined on the following type: