FileDescriptorEvent.wait

Waits for the selected event to occur.

  1. void wait(Trigger which)
    struct FileDescriptorEvent
    @safe
    void
    wait
  2. bool wait(Duration timeout, Trigger which)

Parameters

which Trigger

Optional event mask to react only on certain events

Return Value

Type: void

The overload taking the timeout parameter returns true if an event was received on time and false otherwise.

Meta