IResource.withParentProcessLifetime
Method
interface IResource { // ... 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 Defined on
This method is defined on the following type: