Skip to content
Docs Try Aspire
Docs Try

waitForWithBehavior

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

Signature

method waitForWithBehavior builder
Waits for another resource with specific behavior
waitForWithBehavior(
dependency: IResource,
waitBehavior: WaitBehavior): IResourceWithWaitSupport
dependency IResource
waitBehavior WaitBehavior
IResourceWithWaitSupport

Applies to

This method applies to the following types: