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

Allow action subscription code to unsubscribe #84

Closed
mrpmorris opened this issue Aug 25, 2020 · 0 comments · Fixed by #85
Closed

Allow action subscription code to unsubscribe #84

mrpmorris opened this issue Aug 25, 2020 · 0 comments · Fixed by #85

Comments

@mrpmorris
Copy link
Owner

mrpmorris commented Aug 25, 2020

When a component has subscribed to receive notifications of when specific actions are dispatched (IActionSubscriber or FluxorComponent.SubscribeToAction it is not possible to unsubscribe from all actions within the code that is called back.

mrpmorris added a commit that referenced this issue Aug 25, 2020
@mrpmorris mrpmorris mentioned this issue Aug 26, 2020
mrpmorris added a commit that referenced this issue Aug 26, 2020
* Allow observer callback code to unsubscribe from action notifications (Fixes #84)

* Throw exception if base.OnInitialzed not called (Fixes #82)

* Remove unneeded reflection (Fixes #87) (#90)

* Include ActionSubscriber tutorial in solution
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 a pull request may close this issue.

1 participant