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

Method clearPAF

js.go:836–840  ·  view source on GitHub ↗

clearPAF will remove a PubAckFuture that was registered.

(id string)

Source from the content-addressed store, hash-verified

834
835// clearPAF will remove a PubAckFuture that was registered.
836func (js *js) clearPAF(id string) {
837 js.mu.Lock()
838 delete(js.pafs, id)
839 js.mu.Unlock()
840}
841
842// PublishAsyncPending returns how many PubAckFutures are pending.
843func (js *js) PublishAsyncPending() int {

Callers 1

PublishMsgAsyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected