Finally, on lines 14 and 15 each subscriber prints the data stream received. If the tear down being added is a subscription that is already unsubscribed, is the same reference add is being called on, or is Subscription.EMPTY, it will not be added.. I think finalize() operator is actually correct. After all, you created it. rxjs-no-add and rxjs-no-patched. There is an alias called finallyAction for browsers

rxjs subscribe finally 2021