1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Execute code when the RxJS Observable terminates with the finalize operator

    angularAngular

    You know about the finally instruction in the try-catch? What if you wanted to have the same when using RxJS Observables? Surprise, there's actually an RxJS operator :wink: called finalize which can be used for exactly that. Let's explore in more details.