Function listLength

  • Check how many items are stored in a shared queue/list in redis.

    Parameters

    • key: string

    Returns Promise<number>