redlock-universal
    Preparing search index...

    Function createRedlocks

    • Create multiple RedLocks with shared configuration

      Parameters

      • adapters: readonly RedisAdapter[]

        Array of Redis adapters to use for all locks

      • keys: readonly string[]

        Array of lock keys

      • options: Omit<CreateRedlockConfig, "adapters" | "key"> = {}

        Shared configuration options

      Returns Lock[]

      Array of RedLock instances