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