peek_timed
Description:
public G peek_timed (
TimeSpan wait =
-1)
Peek on the queue, blocking until timeout or data is received
Parameters:
wait |
the duration to wait. 0 for no waiting, -1 to wait forever
|
Returns:
the data, or null if there was no data
|