diff --git a/options.go b/options.go index 50fd2d5..a52bb81 100644 --- a/options.go +++ b/options.go @@ -36,7 +36,7 @@ func SubscribeContext(ctx context.Context) broker.SubscribeOption { type ackSuccessKey struct{} -// AckOnSuccess allow to AutoAck messages when handler returns without error +// AckOnSuccess will automatically acknowledge messages when no error is returned func AckOnSuccess() broker.SubscribeOption { return setSubscribeOption(ackSuccessKey{}, true) }