Skip to content
Discussion options

You must be logged in to vote

@ruffk that's a great catch -- it really should be a singleton and not transient. I really can't think of a usecase for needing multiple instances of the Monitor class itself. You should be able to instantiate it as a singleton, inject it into any classes/threads, and have the various consumers all just hook into the event listeners.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@braddwalker
Comment options

@ruffk
Comment options

Answer selected by braddwalker
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