We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In order to clean up my subscriptions in a way that's as clean as possible, I'd like to be able to chain factory.onCreate.
factory.onCreate
Currently this is impossible to do. The factory.onCreate will always be the only function that gets called in the stack.
The text was updated successfully, but these errors were encountered:
Thanks for the issue!
Chaining onCreate currently doesn’t work as expected and leads to previously added callbacks being replaced.
This is because the factory stores only a single callback instead of an array.
Should be pretty easy to implement. Feel free to send a PR, or I’ll try to get it done when I have some time.
Sorry, something went wrong.
fix: allow chaining of onCreate, closes #1
f9b1acc
Merge pull request #2 from mfellner/fix-on-create-chain
bd4c9d2
Successfully merging a pull request may close this issue.
In order to clean up my subscriptions in a way that's as clean as possible, I'd like to be able to chain
factory.onCreate
.Currently this is impossible to do.
The
factory.onCreate
will always be the only function that gets called in the stack.The text was updated successfully, but these errors were encountered: