btroncone / learn-rxjs

Clear examples, explanations, and resources for RxJS

Home Page:https://www.learnrxjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docs for finalize should mention behavior on unsubscribe

amakhrov opened this issue · comments

https://www.learnrxjs.io/learn-rxjs/operators/utility/finalize

Call a function when observable completes or errors

https://rxjs.dev/api/operators/finalize

... will call a specified function when the source terminates on complete or error. The specified function will also be called when the subscriber explicitly unsubscribes.