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

unsubscribe service #289

Open
fetis opened this issue Sep 13, 2019 · 0 comments
Open

unsubscribe service #289

fetis opened this issue Sep 13, 2019 · 0 comments
Assignees
Labels
snippet New snippet or snippet update

Comments

@fetis
Copy link
Owner

fetis commented Sep 13, 2019

component service to keep subscriptions and automatically unsusbscribe

constructor(sub: SubscriptionHolder)
..
sub.add()
...
SubscriptionHolder
onDestroy => this.internal.unsubscribe
@fetis fetis self-assigned this Sep 13, 2019
@fetis fetis added the snippet New snippet or snippet update label Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
snippet New snippet or snippet update
Projects
None yet
Development

No branches or pull requests

1 participant