Class · inherits Instance
DataStoreGetOptions
Specifies additional parameters for a GlobalDataStore.GetAsync call.
About DataStoreGetOptions
An object that specifies additional parameters for a
GlobalDataStore.GetAsync call.
See also:
- Data Stores, an in-depth guide on data structure, management, error handling, etc.
Properties 1
UseCache
: booleanSpecifies whetherGlobalDataStore.GetAsynccan return a locally cached value.This property controls whether
GlobalDataStore.GetAsyncmay return a locally cached value instead of fetching from the data store backend. It defaults totrue.When
true, if a cached value for the key exists and has not expired,GlobalDataStore.GetAsyncreturns that cached value immediately without a backend request. Whenfalse, the cache is bypassed and the call always retrieves the latest value from the data store backend.
DataStoreGetOptions also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.