Ack acknowledges a message. This tells the server that the message was successfully processed and it can move on to the next message.
(opts ...AckOpt)
| 3654 | // Ack acknowledges a message. This tells the server that the message was |
| 3655 | // successfully processed and it can move on to the next message. |
| 3656 | func (m *Msg) Ack(opts ...AckOpt) error { |
| 3657 | return m.ackReply(ackAck, false, opts...) |
| 3658 | } |
| 3659 | |
| 3660 | // AckSync is the synchronous version of Ack. This indicates successful message |
| 3661 | // processing. |