@agolovan wrote:
I have the following "model" method at my route. I am going thought the collection of transfer objects and do some filtering which is actually removed for simplicity. However, if there is a flag for recurring transfer, I am doing call to App.TransferModel.fetchRecurringTransfer method that has a promise inside.
Only after transfers collection will be fully updated, I need to go another method that will do some work with this collection and it will be presented to template. It is like I need a wait till each call for recurring data will be completed before doing another call. It is not clear how many transfers are actually recurring. I just need a collection, fully loaded with recurring data, before I would do other processing. How I would do that with Ember? Thanks!
Posts: 6
Participants: 3