First I'll ask my question:
Saving data for my game to the cloud takes roughly five seconds. There are multiple stages in which the save takes place. I chain callbacks so operations complete before the next is called. As an example:
1. find json document, callback 1
2. Retrieve document with successful callback 1 and delete document found, callback 2
3. Successful callback 2 finds second document, callback 3
4. Callback 3 deletes second found document, callback 4
5. Callback 4 inserts new document to another collection, callback 5
6. Callback 5 returns successful save
So here's my question again, if I quit my app during step, let's say, 4, will the app continue until step 6 regardless or will it stop immediately at step 4?