Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4831

Get notified when findAll() background request is finished

$
0
0

@woprandi wrote:

Hi,

I like the idea of caching data but I have a problem and I didn't find an adequate response.

I use findAll() to get my model, but when data is present in the store (from the second load), I got the stored model. It's nice because the UI is rendered very fast but if the model loaded from the backend is different (for example if a record has been created), the model is outdated. findAll() always do a background request but there is no-way to be notified.
Somebody has a way to get notified ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4831

Trending Articles