@ai16z/eliza v0.1.4-alpha.3 / CacheManager
• CacheAdapter extends ICacheAdapter
= ICacheAdapter
new CacheManager<
CacheAdapter
>(adapter
):CacheManager
<CacheAdapter
>
• adapter: CacheAdapter
CacheManager
<CacheAdapter
>
adapter:
CacheAdapter
get<
T
>(key
):Promise
<T
>
• T = unknown
• key: string
Promise
<T
>
set<
T
>(key
,value
,opts
?):Promise
<void
>
• T
• key: string
• value: T
• opts?: CacheOptions
Promise
<void
>
packages/core/src/cache.ts:116
delete(
key
):Promise
<void
>
• key: string
Promise
<void
>