Skip to main content

AbstractPersistedStore<T, L>

Extends

Extended by

Type Parameters

Type ParameterDefault type
T-
L extends AbstractPersistedStoreListenerAbstractPersistedStoreListener

Constructors

Constructor

new AbstractPersistedStore<T, L>(options): AbstractPersistedStore<T, L>;

Parameters

ParameterType
optionsAbstractPersistedStoreOptions<T>

Returns

AbstractPersistedStore<T, L>

Overrides

AbstractStore.constructor

Properties

PropertyTypeInherited from
loggerLoggerAbstractStore.logger

Accessors

initialized

Inherited from

AbstractStore.initialized


name

Get Signature

get name(): string;
Returns

string

Inherited from

AbstractStore.name

Methods

getControls()

getControls(): AbstractSetting<AbstractSettingOptions>[];

Returns

AbstractSetting<AbstractSettingOptions>[]

Inherited from

AbstractStore.getControls


init()

init(): Promise<void>;

Returns

Promise<void>

Inherited from

AbstractStore.init


runDeserialization()

runDeserialization(): Promise<boolean>;

Returns

Promise<boolean>


save()

save(): Promise<void>;

Returns

Promise<void>


setLogger()

setLogger(logger): void;

Parameters

ParameterType
loggerLogger

Returns

void

Inherited from

AbstractStore.setLogger


updateOptions()

updateOptions(options): void;

Parameters

ParameterType
optionsPartial<Omit<AbstractPersistedStoreOptions<T>, "name">>

Returns

void


waitForReady()

waitForReady(): Promise<void>;

Returns

Promise<void>

Inherited from

AbstractStore.waitForReady