Orderly SDKs / Modules / @orderly.network/core / ConfigStore

Interface: ConfigStore

@orderly.network/core.ConfigStore

Implemented by

Table of contents

Methods

Methods

clear

clear(): void

Returns

void

Defined in

packages/core/src/configStore/configStore.ts:18


get

get<T>(key): T

Type parameters

NameType
Tstring

Parameters

NameType
keyConfigKey

Returns

T

Defined in

packages/core/src/configStore/configStore.ts:15


getOr

getOr<T>(key, defaultValue): T

Type parameters

NameType
Tstring

Parameters

NameType
keyConfigKey
defaultValueT

Returns

T

Defined in

packages/core/src/configStore/configStore.ts:16


set

set<T>(key, value): void

Type parameters

Name
T

Parameters

NameType
keyConfigKey
valueT

Returns

void

Defined in

packages/core/src/configStore/configStore.ts:17