LocalManualEvent.wait - multiple declarations
Function LocalManualEvent.wait
Acquires ownership and waits until the signal is emitted.
int wait() @safe;
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 LocalManualEvent.wait
Acquires ownership and waits until the signal is emitted and the emit count is larger than a given one.
int wait
(
int emit_count
) @safe;
int wait
(
core .time .Duration timeout,
int emit_count
) @safe;
Throws
May throw an InterruptException
if the task gets interrupted
using Task
.