Can someone explain me what happens in the following scenario:
We have 2 Cloud Code functions.
- FunctionOne does a few async operations using promises, and modifies instances of class A.
- FunctionTwo deletes instances of class A
What happens the call to FunctionTwo is made and an instance of type A is deleted, whilst that same instance is being modified and saved by a call to FunctionOne? (These calls could come from 2 different mobile devices for instance).