Skip to content

Class · inherits Instance

DataStoreGetOptions

Official docs ↗

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 whether GlobalDataStore.GetAsync can return a locally cached value.

    This property controls whether GlobalDataStore.GetAsync may return a locally cached value instead of fetching from the data store backend. It defaults to true.

    When true, if a cached value for the key exists and has not expired, GlobalDataStore.GetAsync returns that cached value immediately without a backend request. When false, 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.