AwaitGroup
An asynchronous implementation of a WaitGroup.
A WaitGroup waits for a collection of tasks to finish. The main task can create new workers and
pass them to each of the tasks it wants to wait for. Then, each of the tasks calls done when
finished. The main task can call await to block until all other tasks have finished.
use WaitGroup;
async