@eeymoo/ai-coding-sync
    Preparing search index...

    Coordinates distributed lock lifecycle for remote sync operations.

    LockManager

    0.1.0

    Index

    Other

    WebDAV

    • Acquires a remote lock for the given sync identity.

      Parameters

      • syncId: string

        Sync identity requesting the lock

      Returns Promise<RemoteLock>

      Acquired lock metadata

      const lock = await manager.acquire('macbook');
      

      0.1.0

    • Starts a heartbeat loop to renew an active lock.

      Parameters

      Returns Promise<void>

      Promise resolved when heartbeat is scheduled

      await manager.heartbeat(lock);
      

      0.1.0