Parallel data render template


Hi, I need to get multiple records from different APIs. I can use ember.RSVP.hash… But I will wait until all resolved. How to make it parallel?

What I want to do is load data async. In template I have container for each API, so they should not depend on each other and load parallel.



I have an idea, what if I make for every API different model and create parent for them with relationship belogsTo and async true… Is this a proper way to make it?


There’s some good examples here: How to render so it is not blocked waiting for model to be resolved?


If each component load your own data then they`ll render separated.

{authors-post blogpost_id="2123" }
{comments-post blogpost_id="2123" }