Framework
LockAcquisitionResult
Result of a lock acquisition attempt.
| Property | Type | Description |
|---|
acquired | boolean | Whether the lock was acquired |
acquiredAt? | Date | When current lock was acquired |
holder? | string | Current lock holder info if lock is held |
lockId? | string | Unique lock ID (used for release) |
reason? | "error" | "held" | "race" | If not acquired, reason why |