@okcashpro/okai v0.1.7-alpha.1 / ICacheManager
Interface: ICacheManager
Methods
get()
get<
T
>(key
):Promise
<T
>
Type Parameters
• T = unknown
Parameters
• key: string
Returns
Promise
<T
>
Defined in
packages/core/src/types.ts:997
set()
set<
T
>(key
,value
,options
?):Promise
<void
>
Type Parameters
• T
Parameters
• key: string
• value: T
• options?: CacheOptions
Returns
Promise
<void
>
Defined in
packages/core/src/types.ts:998
delete()
delete(
key
):Promise
<void
>
Parameters
• key: string
Returns
Promise
<void
>