Files
simple-mail-cleaner/backend/node_modules/bullmq/dist/cjs/commands/includes/isQueuePaused.lua
2026-01-22 15:49:12 +01: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