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

Method asyncStall

jetstream/publish.go:640–648  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

638}
639
640func (js *jetStream) asyncStall() <-chan struct{} {
641 js.publisher.Lock()
642 if js.publisher.stallCh == nil {
643 js.publisher.stallCh = make(chan struct{})
644 }
645 stc := js.publisher.stallCh
646 js.publisher.Unlock()
647 return stc
648}
649
650func (paf *pubAckFuture) Ok() <-chan *PubAck {
651 paf.jsClient.Lock()

Callers 1

PublishMsgAsyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected