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

Method isConnecting

nats.go:6257–6259  ·  view source on GitHub ↗

Test if Conn is in the process of connecting

()

Source from the content-addressed store, hash-verified

6255
6256// Test if Conn is in the process of connecting
6257func (nc *Conn) isConnecting() bool {
6258 return nc.status == CONNECTING
6259}
6260
6261// Test if Conn is being reconnected.
6262func (nc *Conn) isReconnecting() bool {

Callers 4

processOpErrMethod · 0.95
flusherMethod · 0.95
drainConnectionMethod · 0.95
DrainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected