withParentProcessLifetime
Method
interface ContainerResource { // ... omitted for brevity withParentProcessLifetime(parentProcessId: number): IResource;}Signature
method
withParentProcessLifetime builder Configures a resource to use a persistent lifetime that ends when a parent process exits.
withParentProcessLifetime(parentProcessId: number): IResourceParameters
parentProcessId number Returns
IResource Applies to
This method applies to the following types: