Skip to main content

Interface: Cache

Implemented by

Methods

lookupValue

lookupValue(key): Promise<null | object>

Parameters

NameType
keyObject
key.functionId?string
key.functionTypestring
key.inputunknown

Returns

Promise<null | object>

Defined in

packages/modelfusion/src/core/cache/Cache.ts:2


storeValue

storeValue(key, value): Promise<void>

Parameters

NameType
keyObject
key.functionId?string
key.functionTypestring
key.inputunknown
valueunknown

Returns

Promise<void>

Defined in

packages/modelfusion/src/core/cache/Cache.ts:8