Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nats-io/nats.go
/ atLimitIfUsingPending
Method
atLimitIfUsingPending
nats.go:2243–2248 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2241
}
2242
2243
func
(w *natsWriter) atLimitIfUsingPending() bool {
2244
if
w.pending == nil {
2245
return
false
2246
}
2247
return
w.pending.Len() >= w.plimit
2248
}
2249
2250
func
(w *natsWriter) doneWithPending() {
2251
w.pending = nil
Callers
1
publish
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected