Codebase list golang-github-vbauerster-mpb / 58a6148
drop deprecated WithContext option Vladimir Bauer 7 years ago
1 changed file(s) with 0 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
00 package mpb
11
22 import (
3 "context"
43 "io"
54 "io/ioutil"
65 "sync"
4746 }
4847 }
4948
50 // WithContext deprecated and has no effect, please use NewWithContext instead.
51 func WithContext(ctx context.Context) ContainerOption {
52 return func(s *pState) {
53 }
54 }
55
5649 // WithShutdownNotifier provided chanel will be closed, after all bars
5750 // have been rendered.
5851 func WithShutdownNotifier(ch chan struct{}) ContainerOption {