I am currently creating a Backbone.js and jquery Mobile web application and I have some calls to Backbone.model.fetch(). I have the proper success and error-callbacks, but there is some code that I want to execute no matter if the fetch was successfull or not.
Currently, I'm simply copying the common code. But I asked myself if there is any callback that is executed no matter what happens.
Like the try{} catch{} finally{} from C#. Is there anything like that?