1×
Become a member
to unlock all features
Autoplay

    Connection operator: multicast and connect

    rxjsRxJS
    ^5.0.0

    We have seen how Subjects are useful for sharing an execution of an RxJS observable to multiple observers. However, this technique requires some laborious setting up. In this lesson we will learn about the multicast() operator which helps solve the same problem with less code, and with a neater API.