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