Function Barrier.waitAll
Wait for all completion events to happen.
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.