actionhero
    Preparing search index...

    Function lock

    • Lock an item in redis (can be a list or a saved item) to this Actionhero process.

      Parameters

      • key: string
      • expireTimeMS: number = lockDuration

      Returns Promise<boolean>