poll_timed


Description:

public G poll_timed (TimeSpan wait = -1)

Poll 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