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

Method isReconnecting

nats.go:6262–6264  ·  view source on GitHub ↗

Test if Conn is being reconnected.

()

Source from the content-addressed store, hash-verified

6260
6261// Test if Conn is being reconnected.
6262func (nc *Conn) isReconnecting() bool {
6263 return nc.status == RECONNECTING
6264}
6265
6266// Test if Conn is connected or connecting.
6267func (nc *Conn) isConnected() bool {

Callers 7

ForceReconnectMethod · 0.95
processOpErrMethod · 0.95
subscribeLockedMethod · 0.95
unsubscribeMethod · 0.95
IsReconnectingMethod · 0.95
drainConnectionMethod · 0.95
DrainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected