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

Method asyncStall

js.go:849–857  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

847}
848
849func (js *js) asyncStall() <-chan struct{} {
850 js.mu.Lock()
851 if js.stc == nil {
852 js.stc = make(chan struct{})
853 }
854 stc := js.stc
855 js.mu.Unlock()
856 return stc
857}
858
859// Handle an async reply from PublishAsync.
860func (js *js) handleAsyncReply(m *Msg) {

Callers 1

PublishMsgAsyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected