ManualEvent.wait

Acquires ownership and waits until the emit count differs from the given one or until a timeout is reached.

  1. int wait()
  2. int wait(int emit_count)
    struct ManualEvent
    @safe shared
    int
    wait
  3. int wait(Duration timeout, int emit_count)

Throws

May throw an InterruptException if the task gets interrupted using Task.interrupt().

Meta