waitForCompletion
Method
interface ContainerResource { // ... omitted for brevity waitForCompletion( dependency: IResource, exitCode?: number): IResourceWithWaitSupport;}Signature
method
waitForCompletion builderWaits for the dependency resource to enter the Exited or Finished state before starting the resource.
waitForCompletion( dependency: IResource, exitCode?: number): IResourceWithWaitSupportParameters
dependencyIResource The resource builder for the dependency resource.exitCode numberoptional= 0The exit code which is interpreted as successful.Returns
IResourceWithWaitSupport Applies to
This method applies to the following types: