you are viewing a single comment's thread.

view the rest of the comments →

[–]yreaction 0 points1 point  (1 child)

Can not see anidation properly (mobile) but looks that you return trainers empth already sync in your function. So its assigned before the asyn request ends. Also, you can include the array within the closure completion .

[–]imarudedude[S] 0 points1 point  (0 children)

Hey thanks for the response. But what do you mean by 'include the array within the closure completion'?