1×
Become a member
to unlock all features
Autoplay

    RefCount: automatically starting and stopping an execution

    rxjsRxJS
    ^5.0.0

    With the connect() method on a ConnectableObservable, the programmer is responsible for avoiding leaked executions of shared RxJS Observables. This lesson will teach you about refCount(), a handy operator that creates an automatically connected Observable, to avoid manually using connect().