Codebase list golang-github-vbauerster-mpb / cd74553
WithShutdownNotifier takes ch chan<- interface{} Vladimir Bauer 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1414 total, numBars := 100, 2
1515 var wg sync.WaitGroup
1616 wg.Add(numBars)
17 done := make(chan struct{})
17 done := make(chan interface{})
1818 p := mpb.New(
1919 mpb.WithWidth(64),
2020 mpb.WithWaitGroup(&wg),