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

Method clearPAF

jetstream/publish.go:634–638  ·  view source on GitHub ↗

clearPAF will remove a PubAckFuture that was registered.

(id string)

Source from the content-addressed store, hash-verified

632
633// clearPAF will remove a PubAckFuture that was registered.
634func (js *jetStream) clearPAF(id string) {
635 js.publisher.Lock()
636 delete(js.publisher.acks, id)
637 js.publisher.Unlock()
638}
639
640func (js *jetStream) asyncStall() <-chan struct{} {
641 js.publisher.Lock()

Callers 1

PublishMsgAsyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected