Home > @rushstack/node-core-library > LockFile > dirtyWhenAcquired
LockFile.dirtyWhenAcquired property
Returns the initial state of the lock. This can be used to detect if the previous process was terminated before releasing the resource.
Signature:
get dirtyWhenAcquired(): boolean;