Chapter 10. The Ember.js run loop—Backburner.js

This chapter covers

  • Understanding the internal structure of the run loop
  • Using the run loop to propagate events
  • Using the run loop to improve application performance
  • Executing code within a specific run loop
  • Executing repeated tasks within the run loop

The Ember.js run loop is a concept unique to Ember.js and is one of the distinguishing features over similar frameworks such as AngularJS or Backbone.js. Even though the name might indicate that the run loop is implemented as a continuous loop, it’s not. During the final release candidates of Ember.js, the run loop was extracted into its own microlibrary called Backburner.js. Even though Ember.js now uses Backburner.js internally, the APIs ...

Get Ember.js in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.