Skip to main content

AbstractSetting<T>

Extends

Extended by

Type Parameters

Type ParameterDefault type
T extends AbstractSettingOptionsAbstractSettingOptions

Constructors

Constructor

new AbstractSetting<T>(options): AbstractSetting<T>;

Parameters

ParameterType
optionsT

Returns

AbstractSetting<T>

Overrides

BaseObserver<AbstractSettingListener>.constructor

Properties

PropertyType
deserializedboolean
loggerLogger
optionsT

Accessors

initialized

Methods

doDeserialize()

doDeserialize(data): void;

FYI: This is called after init()

Parameters

ParameterType
dataany

Returns

void


doSerialize()

doSerialize(): any;

Returns

any


init()

init(): Promise<void>;

Returns

Promise<void>


reset()

abstract reset(): any;

Returns

any


save()

save(): void;

Returns

void


updateOptions()

updateOptions(options): void;

Parameters

ParameterType
optionsPartial<T>

Returns

void


waitForReady()

waitForReady(): Promise<AbstractSetting<T>>;

Returns

Promise<AbstractSetting<T>>