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

register multiple setup functions #9

Merged
merged 4 commits into from
May 22, 2013
Merged

register multiple setup functions #9

merged 4 commits into from
May 22, 2013

Conversation

ouven
Copy link

@ouven ouven commented May 8, 2013

Instead of setting a setup function you can register one, which does not override the one, that was previously registered.
Provide a ShutdownFunc trait, which acts as counterpart.
So it is possible to have a resource in a provider trait, which has SetupFunc and ShutdownFunc as selftype and which itself could be mixed into a bolt to provide its resource.

Ruben Wagner added 4 commits May 7, 2013 17:35
0.4 is not available anymore
rewrite setup to register a function instead of setting it directly
Register shutdown functions for bolts, as counterpart to SetupFunc.
@ouven
Copy link
Author

ouven commented May 17, 2013

Thanks for your feedback.

velvia added a commit that referenced this pull request May 22, 2013
register multiple setup functions
@velvia velvia merged commit abc5a8a into velvia:master May 22, 2013
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

Successfully merging this pull request may close these issues.

None yet

2 participants