LocalManualEvent.wait

Acquires ownership and waits until the signal is emitted and the emit count is larger than a given one.

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

Throws

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

Meta