pop
Removes and retrieves messages from the specified queue.
Return
A Result containing a list of messages removed from the queue.
Parameters
queue
The name of the queue from which messages will be popped.
quantity
The number of messages to pop from the queue. Defaults to 1.