Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nats-io/nats.go
/ switchToPending
Method
switchToPending
nats.go:2228–2230 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2226
}
2227
2228
func
(w *natsWriter) switchToPending() {
2229
w.pending = new(bytes.Buffer)
2230
}
2231
2232
func
(w *natsWriter) flushPendingBuffer() error {
2233
if
w.pending == nil || w.pending.Len() == 0 {
Callers
5
TestParserPing
Function · 0.80
TestParserErr
Function · 0.80
ForceReconnect
Method · 0.80
connect
Method · 0.80
processOpErr
Method · 0.80
Calls
no outgoing calls
Tested by
2
TestParserPing
Function · 0.64
TestParserErr
Function · 0.64