ManualEvent.wait - multiple declarations
Function ManualEvent.wait
Acquires ownership and waits until the signal is emitted.
int wait() @safe shared;
Note that in order not to miss any emits it is necessary to use the overload taking an integer.
Throws
May throw an InterruptException
if the task gets interrupted
using Task
.
Function ManualEvent.wait
Acquires ownership and waits until the emit count differs from the given one or until a timeout is reached.
int wait
(
int emit_count
) @safe shared;
int wait
(
core .time .Duration timeout,
int emit_count
) @safe shared;
Throws
May throw an InterruptException
if the task gets interrupted
using Task
.