Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add watcher to current warden instance at runtime #132

Open
verysimplenick opened this issue Nov 18, 2016 · 1 comment
Open

Add watcher to current warden instance at runtime #132

verysimplenick opened this issue Nov 18, 2016 · 1 comment

Comments

@verysimplenick
Copy link

Hi, thanks for project, I want know how I can add watcher at runtime after I create warden?
I mean:

var warden = WardenInstance.Create(wardenConfiguration.Build());
// ...
// now I need add another watcher or delete existing

How I can do this?

@spetz
Copy link
Member

spetz commented Nov 18, 2016

Hello,
For now, such functionality is not possible, but it seems like a good idea for one of the new features. All you can do is to control the already running Warden instance via WardenManager. Please take a look into the Examples directory where you can find Warden.Examples.CommandsAndEvents.App and Warden.Examples.CommandsAndEvents.Manager in case you'd need such option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants