Beamable SDK
Public Member Functions | List of all members
Beamable.Common.Api.ISupportsGet< TData > Interface Template Reference

This type defines getting fresh data from an Api data source (e.g. Service). More...

Public Member Functions

Promise< TData > GetCurrent (string scope="")
 Manually fetch the available data. If the server hasn't delivered a new update, this method will not return the absolute latest data unless you pass forceRefresh as true. More...
 

Detailed Description

This type defines getting fresh data from an Api data source (e.g. Service).

Related Links

img beamable-logo

Member Function Documentation

◆ GetCurrent()

Promise< TData > Beamable.Common.Api.ISupportsGet< TData >.GetCurrent ( string  scope = "")

Manually fetch the available data. If the server hasn't delivered a new update, this method will not return the absolute latest data unless you pass forceRefresh as true.

Parameters
scopeA scope to narrow down the data to receive.
Returns
A Promise that contains the latest data

The documentation for this interface was generated from the following file: