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