In an Ember app, say you have an observer or a property that watches an array, like so:
topContributor: (function() {
// ... loop over articles (hence slow) ...
}).property('articles.@each.author')
Updating the articles
array, through ember-data for instance, repeatedly triggers the property function for a total of articles.length
times.
Is there a way to collapse the updates into one lazy update when all the changes have finished and the runloop is flushed?