Skip to content

js-bao-wss-client


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).

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30