Skip to main content

@ai16z/eliza v0.1.3 / 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:561


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:562


delete()

delete(key): Promise<void>

Parameters

key: string

Returns

Promise<void>

Defined in

packages/core/src/types.ts:563