waits for the event to be set
If the event is already set, returns without sleeping.
sets a timeout for the wait.
TimeoutExpired if the timeout expires.
Any other exception injected to this fiber using Reactor.throwInFiber
See Implementation
waits for the event to be set
If the event is already set, returns without sleeping.