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

Struct messageBatch

js.go:3230–3235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3228}
3229
3230type messageBatch struct {
3231 sync.Mutex
3232 msgs chan *Msg
3233 err error
3234 done chan struct{}
3235}
3236
3237func (mb *messageBatch) Messages() <-chan *Msg {
3238 mb.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected