- Preparing search index...
- The search index is not available
ifunny.ts
Constructors
constructor
- new CacheContainer(storage: IStorage): CacheContainer
-
Properties
Private
isItemExpired
isItemExpired: any
Private
storage
storage: any
Private
unsetKey
unsetKey: any
Methods
clear
- clear(): Promise<void>
-
Returns Promise<void>
getItem
- getItem<T>(key: string): Promise<undefined | T>
-
Returns Promise<undefined | T>
setItem
- setItem(key: string, content: any, options: Partial<ICachingOptions>): Promise<void>
-
Returns Promise<void>