MCPcopy
hub / github.com/nats-io/nats.go / Ack

Method Ack

js.go:3656–3658  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.
3656func (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.

Callers

nothing calls this directly

Calls 1

ackReplyMethod · 0.95

Tested by

no test coverage detected