prefer public api
Vladimir Bauer
4 years ago
| 339 | 339 |
func (b *Bar) serve(ctx context.Context, bs *bState) {
|
| 340 | 340 |
defer b.container.bwg.Done()
|
| 341 | 341 |
if bs.afterBar != nil && bs.sync {
|
| 342 | |
<-bs.afterBar.done
|
|
342 |
bs.afterBar.Wait()
|
| 343 | 343 |
}
|
| 344 | 344 |
for {
|
| 345 | 345 |
select {
|