Codebase list golang-github-vbauerster-mpb / 61ecb87
godoc fix Vladimir Bauer 8 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1515 // the previous N samples to average over. If zero value provided, it defaults to 30.
1616 //
1717 // `startBlock` is a time.Time receive channel. User suppose to send time.Now()
18 // to this channel on each iteration of block start, right before actual job.
19 // The channel will be closed automatically on bar shutdown event, so there is
20 // no need to close from user side.
18 // to this channel on each iteration of block start, right before actual job.
19 // The channel will be closed automatically on bar shutdown event, so there is
20 // no need to close from user side.
2121 //
2222 // `wc` optional WC config
2323 func ETA(style int, age float64, startBlock chan time.Time, wc ...WC) Decorator {