Skip to content
Discussion options

You must be logged in to vote

The simplest option would probably just be to keep a reference to the socket instance in a module file somewhere, with getters and setters if needed, and use that in both places.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@phryneas
Comment options

@joekrall
Comment options

@markerikson
Comment options

@joekrall
Comment options

@User6531
Comment options

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