reloadAll on DS.Store?


#1

I have an app in which I’m polling a REST API for ember-data models. I’m at a point where I think my model needs to know when it has been reloaded via a poll. Knowing that the poll is the only way models get reloaded, I’d imagine I could use the didReload hook, except that the polling mechanism just uses this.store.find(“model”) to make a request to repopulate the same collection of objects.

Therefore, my question is, does it make sense to have a this.store.find(“model”) to call didReload on any models that are already in the cache?