Milliseconds. Max timeout for .acquire() call. Defaults to 10_000. Max value is 1 day in ms, 8.64e+7
Milliseconds. Time for auto-release (expiry) of lock. Defaults to 10_000. Max value is 1 day in ms, 8.64e+7. Min value is 1_000
Milliseconds. auto-refresh interval. Keeps a lock reserved while the skill is doing work. Defaults to lockTimeout * 0.8.
To disable, set to 0. MUST be less than lockTimeout and at least 800 if enabled.
Milliseconds. Time between acquire attempts if resource is locked. Defaults to 10. Must be >= 10. Cannot be more than acquireTimeout.
Defaults to LockScope.Skill. Associated lock keys will be unique within the provided scope.
To make a lock shared across all versions of the current skill, use LockScope.Skill
To make a lock shared across all organization skills, use LockScope.Organization.
Generated using TypeDoc
Max number of attempts to be made for
.acquire()call. Defaults toNumber.POSITIVE_INFINITY.