Method Thread.Queue()->try_read()


Method try_read

mixed try_read()

Description

This function retrieves a value from the queue if there are any there. Values will be returned in the order they were written. If there are no values present in the queue then UNDEFINED will be returned.

See also

peek(), read(), write()