Skip to content

Best way to handle connection object in NATS? #654

Answered by mtmk
YashasAnand asked this question in Q&A
Discussion options

You must be logged in to vote

that's correct. you'd want the connection to be a singleton so it's established and kept alive internally (by reconnecting when needed)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@YashasAnand
Comment options

@mtmk
Comment options

mtmk Oct 16, 2024
Maintainer

Answer selected by YashasAnand
@YashasAnand
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants