Constructors
constructor
- new default(mapName, cacheTTL): default
Parameters
- mapName: AnyMap
- cacheTTL: number
Accessors
Methods
Readonly
configData
- configData<T>(): Promise<T>
Returns Promise<T>
Readonly
getFromCache
- getFromCache(key): any
Returns any
Readonly
mapData
- mapData<T>(): Promise<T>
Returns Promise<T>
Readonly
playerData
- playerData<T>(): Promise<T>
Returns Promise<T>
Readonly
putInCache
- putInCache<T>(key, value): TTLCache<string, any>
Returns TTLCache<string, any>
Readonly
setKeyTTL
- setKeyTTL(key, ttl): void
Returns void