Pop from front of process queue (proc_queue_pop_front)
Declaration
value = proc_queue_pop_front(key)
Parameters
- key
String.
Returns
- value
String. The popped value. If the queue does not exist or is empty, returns empty string.
Notes
- This function is equivalent to
proc_queue_pop
. - All process queues whose names start with "xxtouch." or "1ferver." are preserved.
- Pop a value from the front.
Example
local billno = proc_queue_pop_front("billnos")
if billno ~= "" then
print(billno)
else
print("no bill")
end