Function Barrier.waitAll

Wait for all completion events to happen.

void waitAll (
  Timeout timeout = Timeout(TscTimePoint(9223372036854775807L))
) @nogc @safe;

Halts the fiber until all expected completion events actually happen.

Throws

Will throw TimeoutExpired if the timeout is exceeded.

May also throw any other exception injected into the fiber.