Waits for the selected event to occur.
|which||Optional event mask to react only on certain events|
|timeout||Maximum time to wait for an event|
If events occurs, returns a mask of these events.
If the timeout expired, returns the
© 2012-2015 RejectedSoftware e.K.
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.