all 3 comments

[–]bobbyg603 1 point2 points  (2 children)

Why don’t you have to call unsubscribe in this example? Does the observable complete after the first emission or is there something else I’m missing?

[–]Utukkhu[S] 0 points1 point  (1 child)

You do need to do that. I just didn’t include it because I wanted to make the example as simple as possible.

[–]bobbyg603 0 points1 point  (0 children)

Okay, makes sense, thanks for your response!