Help, meteor purchase system pattern

I am try to create shop system using meteor. But it is so hard to check is the product purchased on each loop during meteor call is async. Anyone tried to build similar system or pattern?

https://reactioncommerce.com/ Is an open source shop system.

Its huge and complicated but something somewhere in their repos might help you out. Its a very cool project.

Or you can provide some code that you are having issues with and we can take a look.