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

Use decorator with Singleton service (providedIn: 'root') #247

Closed
TruongTheTan opened this issue May 24, 2024 · 1 comment
Closed

Use decorator with Singleton service (providedIn: 'root') #247

TruongTheTan opened this issue May 24, 2024 · 1 comment

Comments

@TruongTheTan
Copy link

I assumed that using until-destroy in Singleton service won't work because it exists through the application.
My service is used for calling APIs and i don't want them always watch (observe) the response from an API even if its success (next) or fail (error).
Can you update this repo or any other suggestion ?

@arturovt
Copy link
Collaborator

It works with services provided in root.

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

No branches or pull requests

2 participants