Open shubham7saxena opened 6 years ago
https://github.com/gojektech/probed/blob/master/worker.go#L20 waitGroup.Wait() unblocks and returns automatically once Done() has been called as many times as Add(). why do we need the doneChan
https://github.com/gojektech/probed/blob/master/worker.go#L20 waitGroup.Wait() unblocks and returns automatically once Done() has been called as many times as Add(). why do we need the doneChan