I have removed all the logic that is related to changing inventory items and virtual currencies amounts from the game client and made it so PlayFab could take care of them. But now I don't know what would be the best decision for synchronizing data. For example, I have finished a level, called a CloudScript that would decide what rewards should I receive, my PlayFab account got the rewards and now I should get users inventory and currencies once again to display new values in the game client. I could just call an update script every time I now inventory or currencies were changed but I am not sure that's the best approach.
So my question is: is it possible to somehow subscribe to the server events from the client side and refresh displayed values every time users inventory or currencies were changed? Or is there are any other ways of getting the same result without having manually call the update script every time the game logic assumes inventory or currencies could have been changed?