bullrs 0.0.2

A BullMQ compatible Job Queue based on Redis
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--[[
  Checks if job is in a given list.

  Input:
    KEYS[1]
    ARGV[1]

  Output:
    1 if element found in the list.
]]

-- Includes
--- @include "includes/checkItemInList"

local items = redis.call("LRANGE", KEYS[1] , 0, -1)
return checkItemInList(items, ARGV[1])