Static
Readonly
ACQUIRE_The title of the lock acquisition task used by Listr2.
Static
Readonly
DEFAULT_The default number of attempts to try acquiring the lock before failing.
Static
newCreates a new Listr2 task for acquiring a lock with retry logic.
the lock to be acquired.
the parent task to which the lock acquisition task will be added.
a new Listr2 task for acquiring a lock with retry logic.
A utility class for managing lock acquisition tasks in Listr2 based workflows.