What is an idiomatic way to pause execution of the current scope until an arbitrary number of goroutines have returned?
Loop over a select statement.
select
Pass an int and Mutex to each and count when they return.
int
Mutex
Sleep for a safe amount of time.
sync.WaitGroup