// Wait blocks until the counter is 0 or less.
Wait blocks until the counter is 0 or less.
// Wait blocks until the counter is 0 or less .
func (wg *WaitGroup) Wait() {
	spin := NewSpinner(SpinPriorityHigh)
	for wg.Active() {
		spin.Yield()
	}
}
func ( wg * WaitGroup ) Wait ( ) { spin := NewSpinner ( SpinPriorityHigh ) for wg . Active ( ) { spin . Yield ( ) } }
Wait blocks until the counter is 0 or less.
Wait blocks until the counter is 0 or less .