diff --git a/decor/decorators.go b/decor/decorators.go index aa68f48..938b392 100644 --- a/decor/decorators.go +++ b/decor/decorators.go @@ -60,6 +60,11 @@ Decor(*Statistics, chan<- int, <-chan int) string } +// CompleteMessenger is an interface with one method: +// +// OnComplete(string, ...WC) +// +// Decorators implementing this interface suppose to return provided string on complete event. type CompleteMessenger interface { OnComplete(string, ...WC) }