Skip to main content

Pop all specified values from process queue (proc_queue_pop_value)

Declaration

count = proc_queue_pop_value(key, target_value)

Parameters

  • key
    String.
  • target_value
    String. The value to remove.

Returns

  • count
    Integer. Number of removed values.

Notes

  • Available for versions after 20250106.
  • All process queues whose names start with "xxtouch." or "1ferver." are preserved.
  • Pop all specified values and return the count.

Example

local count = proc_queue_pop_value("billnos", "name")
if count ~= 0 then
print(count)
else
print("no bill")
end