returnToQueue()
Returns this element back to the guest.
Declaration
func returnToQueue()Discussion
Use this method when you are done processing this element and return it to the guest.
Use this method together with the nextElement() method to process the elements in the queue.
The element you pass to this method must be one that you obtained from calling the nextElement() method. Attempts to call this method more than once with the same element results in the framework raising an exception.