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

Method Nak

jetstream/message.go:366–368  ·  view source on GitHub ↗

Nak negatively acknowledges a message. This tells the server to redeliver the message.

()

Source from the content-addressed store, hash-verified

364// Nak negatively acknowledges a message. This tells the server to
365// redeliver the message.
366func (m *jetStreamMsg) Nak() error {
367 return m.ackReply(context.Background(), ackNak, false, ackOpts{})
368}
369
370// NakWithDelay negatively acknowledges a message. This tells the server
371// to redeliver the message after the given delay.

Callers

nothing calls this directly

Calls 1

ackReplyMethod · 0.95

Tested by

no test coverage detected