When using angular 2, you should use the asynchronous channel as much as possible, as this will automatically disable you when your component is destroyed.
It is said. Your gap here is observed cold. Value, a value producer will be configured for each subscription. This means that every time a new subscription is created. Therefore, knowing how many signatures you still need to have to watch the cold is a question that you cannot answer.
I am afraid that the only thing you can do is to manage your subscriptions in their pure form and rely on angular as much as possible.
source share