js-bao-wss-client / LockContention
Interface: LockContention
Returned when a key is held by a live lease.
Properties
acquired
acquired:
false
heldBy
heldBy:
string|null
holderKind
holderKind:
string|null
leaseExpiresAt
leaseExpiresAt:
string|null
owner
owner:
string|null
The owner the HOLDER named, or null for a hold made without one.
What tells your own hold from another's: a task run that presents its own run id and is refused can read whose run really holds the key.
retryAfterMs
retryAfterMs:
number
Suggested delay before retrying (ms).