Skip to main content

abstract Store

Base class for cache storage implementations

Extended by

Constructors

Constructor

new Store(): Store

Returns

Store

Methods

createStoreAdapter()

abstract createStoreAdapter<T>(serializer, options, type, hash): StoreAdapter<T>

Creates a new store adapter for a specific type

Type Parameters

Type Parameter

T

Parameters

ParameterTypeDescription

serializer

Serializer

Serializer instance

options

StoreOptions<T>

Store configuration options

type

string

Type name for the cached items

hash

string

Unique hash for the type

Returns

StoreAdapter<T>