Exercise - Connect Operator
The goal of this exercise is to learn how to create a multicasted Observable using the
- Open exercise on codesandbox.
- I've created the
sourceObservable that synchronously emits next notifications whose integer values are 1 through 5.
- Use the
connect()operator and specify the
- Within the
selectorfunction, filter next notification values from the not-yet-connected
multicastedObservable for even numbers only.
subscribe()to the connected Observable.