vibe.d beta banner
get vibe.d
0.7.30

ManualEvent.wait - multiple declarations

  • Function ManualEvent.wait
  • Function ManualEvent.wait
  • Function ManualEvent.wait

Function ManualEvent.wait

Acquires ownership and waits until the signal is emitted.

Prototype

abstract void wait();

Throws

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

Function ManualEvent.wait

Acquires ownership and waits until the emit count differs from the given one.

Prototype

abstract int wait(
  int reference_emit_count
);

Throws

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

Function ManualEvent.wait

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

Prototype

abstract int wait(
  core.time.Duration timeout,
  int reference_emit_count
);

Throws

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

block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License