pub fn peek_event(timeout: uint) -> Event

Get an event if within timeout milliseconds, otherwise return urn NoEvent.