@ai16z/eliza v0.1.5-alpha.3 / DbCacheAdapter
new DbCacheAdapter(
db
,agentId
):DbCacheAdapter
• db: IDatabaseCacheAdapter
• agentId: `${string}-${string}-${string}-${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
>