isQueuePaused.lua 249 B

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