@ai16z/eliza v0.1.4-alpha.3 / MemoryCacheAdapter
new MemoryCacheAdapter(
initalData
?):MemoryCacheAdapter
• initalData?: Map
<string
, string
>
data:
Map
<string
,string
>
get(
key
):Promise
<string
>
• key: string
Promise
<string
>
set(
key
,value
):Promise
<void
>
• key: string
• value: string
Promise
<void
>
delete(
key
):Promise
<void
>
• key: string
Promise
<void
>