Ember: Suggestions welcome for handling inFlight errors
问题 I use Ember data with the REST Adapter. I want to make sure that in case of slow server responses, the application does not fail. I have simulated this bij adding at server side a sleep method of 5 seconds before returning the JSON response. If you have a form with a SAVE button, and you click this button while a previous save is still is progress, you receive a inFlight error and the whole Ember app freezes (only thing you can do is reload app). So, you can easily disable the save button by