Roblox UtilitiesDevlHub Roblox Documentation

Class

DataStoreGetOptions

NotReplicated
Inherits
Instance › Object
Memory category
Instances

Specifies additional parameters for a GlobalDataStore:GetAsync() call.

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#

UseCachebooleanSpecifies whether GlobalDataStore:GetAsync() can return a locally cached value.ReadSafe

UseCache: boolean#

ReadSafe

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.

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed