true if the event is in signaled state, false if the event is uninitialized or another error occuredbool wait()Wait for the event to be signaled without timeout.
true if the event is in signaled state, false if the event is uninitialized or another error occuredbool wait(Duration tmout)Wait for the event to be signaled with timeout.
tmout | the maximum time to wait |
true if the event is in signaled state, false if the event was nonsignaled for the given time or
the event is uninitialized or another error occured