Explicit and Implicit Sequence Cancellation

Learn to implicitly and explicitly cancel a running RxJS Observable.

In RxJS we can cancel a running Observable. This is an advantage of RxJS over other asynchronous forms of communication, such as callbacks and promises, which can’t be directly canceled once they’re called (some promise implementations support cancellation, though).

There are two main ways we can cancel an Observable: implicitly and explicitly.

Get hands-on with 1200+ tech skills courses.