diff --git a/README.md b/README.md index 8b600a2..de9a0fb 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ // replace ETA decorator with "done" message, OnComplete event decor.OnComplete( // ETA decorator with ewma age of 60, and width reservation of 4 - decor.ETA(decor.ET_STYLE_GO, 60, sbEta, decor.WC{W: 4}), "done", + decor.EwmaETA(decor.ET_STYLE_GO, 60, sbEta, decor.WC{W: 4}), "done", ), ), mpb.AppendDecorators(decor.Percentage()), @@ -87,7 +87,7 @@ // replace ETA decorator with "done" message, OnComplete event decor.OnComplete( // ETA decorator with ewma age of 60 - decor.ETA(decor.ET_STYLE_GO, 60, sbEta), "done", + decor.EwmaETA(decor.ET_STYLE_GO, 60, sbEta), "done", ), ), )