vendredi 30 janvier 2015

Why does ember ui hang during long promise call

I have a long running call that is encapsulated by a promise,


from my understanding of promises, it allows us to do asynchronous tasks that will be dealt with when they return, and until they return the function should continue.


in my example,




  1. the action is entered




  2. Updates a variable that changes the ui



  3. executes somethingLongRSVP


it should then exit the function and update the ui, but insted it waits for the promise to resolve before updating the ui.


http://ift.tt/1A9FHEF





Aucun commentaire:

Enregistrer un commentaire