Return the next element of the queue

peek(x, ...)

Arguments

x

a queue object

...

arguments passed to other methods

Value

the value of the head of the queue

Note

For job_queue objects this returns the next element of the input queue