Register a callback to be called if the lock is lost (connection dies)
(callback: () => void)
| 43 | export interface LockHandle { |
| 44 | /** Register a callback to be called if the lock is lost (connection dies) */ |
| 45 | onLost(callback: () => void): void |
| 46 | /** Release the lock and clean up resources */ |
| 47 | release(): Promise<void> |
| 48 | } |
no outgoing calls
no test coverage detected