Appearance
Documentation / js-sdk-core / InMemoryCache
Class: InMemoryCache
Implements
Constructors
new InMemoryCache(undefined)
new InMemoryCache():
InMemoryCache
Returns
Properties
_cache
private
_cache:Object
={}
Index signature
[key
: string
]: unknown
Methods
del()
del(
key
):void
Parameters
• key: string
Returns
void
Implementation of
get()
get(
key
):unknown
Parameters
• key: string
Returns
unknown
Implementation of
getKeys()
getKeys():
string
[]
Returns
string
[]
Implementation of
put()
put(
key
,val
):void
Parameters
• key: string
• val: unknown
Returns
void