Method Thread.Queue()->peek()


Method peek

mixed peek()

Description

This function returns the next value in the queue if there are any there. If there are no values present in the queue then UNDEFINED will be returned.

See also

peek(), read(), try_read(), write()