Codebase list golang-github-vbauerster-mpb / 2a54c22
multiBars example: decor.WCSyncWidth Vladimir Bauer 4 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
8383 // replace ETA decorator with "done" message, OnComplete event
8484 decor.OnComplete(
8585 // ETA decorator with ewma age of 60
86 decor.EwmaETA(decor.ET_STYLE_GO, 60), "done",
86 decor.EwmaETA(decor.ET_STYLE_GO, 60, decor.WCSyncWidth), "done",
8787 ),
8888 ),
8989 )
2929 // replace ETA decorator with "done" message, OnComplete event
3030 decor.OnComplete(
3131 // ETA decorator with ewma age of 60
32 decor.EwmaETA(decor.ET_STYLE_GO, 60), "done",
32 decor.EwmaETA(decor.ET_STYLE_GO, 60, decor.WCSyncWidth), "done",
3333 ),
3434 ),
3535 )