Beamable SDK
|
Public Member Functions | |
Promise | Refresh () |
Forces a check of the data to make sure its up to date. More... | |
Promise Beamable.Common.Player.IRefreshable.Refresh | ( | ) |
Forces a check of the data to make sure its up to date.
If a refresh is already running, then this resulting Promise will represent the existing refresh call. This means you can't have multiple refreshes happening at once.
If there is not already a refresh happening, then this will always trigger a OnLoadingStarted and a OnLoadingFinished. If the data actually changes, then a IObservable.OnUpdated will trigger.
Implemented in Beamable.Common.Player.AbsRefreshableObservable.