Codebase list golang-github-vbauerster-mpb / 5917016
AmountReceiver comment upd Vladimir Bauer 6 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
7979 }
8080
8181 // AmountReceiver interface.
82 // If decorator needs to receive increment amount, so this is the right
83 // interface to implement.
82 // EWMA based decorators must implement this one.
8483 type AmountReceiver interface {
8584 NextAmount(int64, ...time.Duration)
8685 }