Files
travel-app/node_modules/bullmq/dist/esm/commands/includes/isQueuePaused.lua
2026-08-09 21:56:00 +00:00

8 lines
249 B
Lua

--[[
Function to check for the meta.paused key to decide if we are paused or not
(since an empty list and !EXISTS are not really the same).
]]
local function isQueuePaused(queueMetaKey)
return rcall("HEXISTS", queueMetaKey, "paused") == 1
end