Skip to content

Interface: TCacheAdapter

Cache adapter for caching plugins

Properties

get()

get: (key) => unknown

Cache getter function

Parameters

ParameterTypeDescription
keystringThe key to store the parsed value (table name)

Returns

unknown

The corresponded parsed table rows value

Defined in

src/plugin/cache.ts:19


set()

set: (key, value) => any

Cache setter function

Parameters

ParameterTypeDescription
keystringThe key to store the value under (table name)
valueunknownThe paired value to store (parsed rows value)

Returns

any

Defined in

src/plugin/cache.ts:25

Released under the MIT License.