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

Method NewRespInbox

nats.go:4771–4776  ·  view source on GitHub ↗

NewRespInbox is the new format used for _INBOX.

()

Source from the content-addressed store, hash-verified

4769
4770// NewRespInbox is the new format used for _INBOX.
4771func (nc *Conn) NewRespInbox() string {
4772 nc.mu.Lock()
4773 s := nc.newRespInbox()
4774 nc.mu.Unlock()
4775 return s
4776}
4777
4778// respToken will return the last token of a literal response inbox
4779// which we use for the message channel lookup. This needs to verify the subject

Callers 1

Calls 1

newRespInboxMethod · 0.95

Tested by 1