Codebase list golang-github-vbauerster-mpb / bc4caa0
godoc misspell fixes Vladimir Bauer 8 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3737 done chan struct{}
3838 shutdown chan struct{}
3939
40 // it's guaranted that cacheState isn't nil, after done channel is closed
40 // it's guaranteed that cacheState isn't nil, after done is closed
4141 cacheState *bState
4242 }
4343
129129
130130 // Wait first waits for all bars to complete, then waits for user provided WaitGroup, if any.
131131 // It's optional to call, in other words if you don't call Progress.Wait(),
132 // it's not guaranted that all bars will be flushed completely to the underlying io.Writer.
132 // it's not guaranteed that all bars will be flushed completely to the underlying io.Writer.
133133 func (p *Progress) Wait() {
134134 <-p.done
135135 }