Call function after helper has returned


#1

Is there a way to make the app wait until a helper is finished returning the data before it operates.

I have a chess app made with angular meteor and it calls the AI move immediately at the moment then shows both moves at the same time when it has finished.

Any help would be greatly appreciated