1 min readJun 6, 2018
Finally or Finalize invokes a specified action after the source observable sequence terminates gracefully or exceptionally. (either success or error)
so if you put it in map, your loader will keep spinning if there is an error, this is why you want to wait until the stream is finished either with success or error to stop the loader.
Copy paste your code where you subscribe to the observable maybe I could spot something there that could explain why it’s not getting the latest value.
Also put a debugger in the finalize to see if it gets there at all.