prorm API Reference
    Preparing search index...

    Interface EtcdLockHandle

    A handle returned by acquireLock(). Call release() to free the lock.

    interface EtcdLockHandle {
        leaseId(): Promise<string | null>;
        release(): Promise<void>;
    }
    Index
    • The lease ID backing this lock, or null if the lock hasn't been acquired.

      Returns Promise<string | null>