See here https://getsatisfaction.com/apperyio/...
(another thread)
See here for jQuery promises:
https://api.jquery.com/promise/
If I get time I'll try and make it work because no doubt I'll need it in the future!
Good examples here http://joseoncode.com/2011/09/26/a-wa...
OK, for jQuery apps (ie not Angular) you need to work with promises as per the jqueyr documentation her:
https://api.jquery.com/promise/
No, not seen that. My app is Angular and not Ionic or jQuery Mobile.
I just tested var $q = Apperyio.get("$q"); in one of those other app types and it gives the error you're seeing.
So either queues aren't available or there is a different syntax?
Joe
That's what the $q achieves but in my opinion much simpler.
At first I struggled to understand it and make it work but now I use it a lot in order to ensure things happen in the sequence I want.
If you get stuck I can post another example?
Max, I believe you use Amazon EC2 for hosting the apps?
Couldn't you replicate the content across multiple zones/regions and then launch the app from the nearest region based on geolocation of the user?
(Just asking)