diff --git a/options.go b/options.go index 5ebf22b..1d84706 100644 --- a/options.go +++ b/options.go @@ -1,7 +1,6 @@ package mpb import ( - "context" "io" "io/ioutil" "sync" @@ -48,12 +47,6 @@ } } -// WithContext deprecated and has no effect, please use NewWithContext instead. -func WithContext(ctx context.Context) ContainerOption { - return func(s *pState) { - } -} - // WithShutdownNotifier provided chanel will be closed, after all bars // have been rendered. func WithShutdownNotifier(ch chan struct{}) ContainerOption {