ManualEvent.wait

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

  1. void wait()
  2. int wait(int reference_emit_count)
  3. int wait(Duration timeout, int reference_emit_count)
    interface ManualEvent
    @safe
    int
    wait

Throws

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

Meta