1×
Become a member
to unlock all features
Autoplay

    Stopping a shared observable execution

    rxjsRxJS
    ^5.0.0

    ConnectableObservable has the connect() method to conveniently dictate the start of the shared execution of the source Observable. However, we need a mechanism to dictate the stop of the shared execution, otherwise a leak happens. This lesson will teach you how to do that, and it's all about Subscriptions.