-
Notifications
You must be signed in to change notification settings - Fork 373
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
Improve extensibility #783
Improve extensibility #783
Conversation
Hello, thanks for your work on Huey. I have added several ways to facilitate extensibility of Huey components, here are the use cases I added them for:
|
I brought |
Some of these changes are now implemented in: It seemed silly to make the consumer class an attribute and task wrapper a property. I'll retain the convention of requiring people to override the For the consumer, I've factored the main loop into its own method similar to how you have it, although I pulled the exception into the consumer module, as it's not something I expect people to generally attempt to catch. I believe these changes should make it possible for you to accomplish what you've described. |
@coleifer thank you for your quick response! Do you have in mind a timeline for the next release? |
Not particularly, no, feel free to run on master in the meantime - I generally keep it stable & tests passing. |
No description provided.