how to tell when client is connected if RetryOnFailedConnect=true #1122
-
I'm using the client with RetryOnFailedConnect=true. The nats.Connect() always returns true in this case. I could wait a bit and assume if I don't get any CustomReconnectDelay() calls, then I'm probably connected. Likely missing something here, so appreciate any ideas. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
derekcollison
Nov 4, 2022
Replies: 1 comment 5 replies
-
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
cbrake
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nc.Status()
I think..