ember-concurrency is an Ember Addon that makes it easy to write concise, robust, and beautiful asynchronous code.
It provides you with a powerful Task primitive, which offers the following benefits:
dropmodifier, or you can configure a task to be
restartableso that it starts over when you click a "Restart" button. Implementing this logic without tasks requires a lot of boilerplate code and defensive programming.
if(this.isDestroyed)checks to prevent timers or ajax responses causing
"set on destroyed object"errors.
In addition to the comprehensive documentation on this site, you might find the following links useful for learning about ember-concurrency.