DEV Community

Discussion on: I promise I won't callback anymore

Collapse
 
kspeakman profile image
Kasey Speakman

The normal behavior like you demonstrate with the last examples is nice. I do find really confusing the behavior of a then after a catch. It behaves like a "finally", but that's somehow unexpected to me.

Collapse
 
damcosset profile image
Damien Cosset

Agreed, it is a bit confusing. A lot of librairies/packages implement a finally method, hopefully we will see it soon. I wonder if they are thinking about adding it in the future spec