Skip to content
Docs Try Aspire

waitForStartWithBehavior

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface ContainerResource {
// ... omitted for brevity
waitForStartWithBehavior(
dependency: IResource,
waitBehavior: WaitBehavior): IResourceWithWaitSupport;
}

Signature

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

Applies to

This function is an extension method on the following types: