I am no expert on databases, so I may be really missing some concepts. But the asynchronous nature of BigDB often causes me headaches. Most of the time when I load something from BigDB my code depends on the result to proceed. I am aware that I can put the continuation of the code in the BigDB loader's callback, but this really obfuscates the code's flow. Is there a simple/elegant way to make the code wait on the result of the BigDB call to proceed?
Thanks!
Shawn