I want to unsubscribe the observable, shall i use the first() operator for unsubscribe?
Example below,
Rx.Observable.interval(100)
.do(x => console.log(x))
.first()
.subscribe(x => x);
Is the above code will do automatic unsubscribe or need to do anything?