Hi,
Is a cloudscript function can execute synchronously?
for example,
var data = Server.GetUserInternalData({
PlayFabId: currentPlayerId,
Keys:['flag']
}).Data['flag']
// Is any possible a same cloudscript function was execute synchronously and change the 'flag' here?
if (!data) {
// do something
server.UpdateUserInternalData({
PlayFabId: currentPlayerId,
Data: { flag: true }
}) }
Is any possible data was change between GetUserInternalData and UpdateUserInternalData