Skip to content

js-bao-wss-client


js-bao-wss-client / RenewResult

Interface: RenewResult ​

Result of locks.renew(). On success, leaseExpiresAt is the new expiry; renewed: false with reason lease_lost means the handle no longer holds the key (the lease expired or another caller took it).

Properties ​

leaseExpiresAt? ​

optional leaseExpiresAt?: string


reason? ​

optional reason?: "lease_lost"


renewed ​

renewed: boolean

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