waits for the event to trigger
This function is guaranteed to sleep.
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 trigger
This function is guaranteed to sleep.