Event.wait

Wait for the event to be signaled with timeout.

  1. bool wait()
  2. bool wait(Duration tmout)
    struct Event
    nothrow @nogc
    bool
    wait

Parameters

tmout Duration

the maximum time to wait

Return Value

Type: bool

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

Meta