LogoRobo.js
Framework

LockAcquisitionResult

Interface: LockAcquisitionResult

Result of a lock acquisition attempt.

Properties

PropertyTypeDescription
acquiredbooleanWhether the lock was acquired
acquiredAt?DateWhen current lock was acquired
holder?stringCurrent lock holder info if lock is held
lockId?stringUnique lock ID (used for release)
reason?"error" | "held" | "race"If not acquired, reason why

On this page