- Preparing search index...
- The search index is not available
cardano-sdk
Properties
Protected
cache
cache: NodeCache
Protected
ttlDefault
ttlDefault: number
Methods
clear
- clear(): void
-
Returns void
get
- get<T>(key: Key, asyncAction: AsyncAction<T>, ttl?: number): Promise<T>
-
Returns Promise<T>
getVal
- getVal<T>(key: Key): undefined | T
-
Returns undefined | T
invalidate
- invalidate(keys: Key | Key[]): void
-
Returns void
keys
- keys(): string[]
-
Returns string[]
set
- set<T>(key: Key, value: T, ttl?: number): boolean
-
Parameters
-
-
value: T
-
ttl: number = ...
Returns boolean
shutdown
- shutdown(): void
-
Returns void
The default time to live in seconds