- Preparing search index...
- The search index is not available
lemon-core
Interface CacheSupportable<CacheValue>
Methods
get
- get(key: CacheKey): Promise<CacheValue>
-
Returns Promise<CacheValue>
inc
- inc(key: CacheKey, inc: number): Promise<number>
-
Returns Promise<number>
set
- set(key: CacheKey, val: CacheValue, timeout?: number | Timeout): Promise<boolean>
-
Parameters
-
-
val: CacheValue
-
Optional
timeout: number | Timeout
Returns Promise<boolean>
class:
CacheSupportable