Interfaces
Orderly network core.ConfigStore
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
Name | Type |
---|---|
T | string |
Parameters
Name | Type |
---|---|
key | ConfigKey |
Returns
T
Defined in
packages/core/src/configStore/configStore.ts:15
getOr
▸ getOr<T
>(key
, defaultValue
): T
Type parameters
Name | Type |
---|---|
T | string |
Parameters
Name | Type |
---|---|
key | ConfigKey |
defaultValue | T |
Returns
T
Defined in
packages/core/src/configStore/configStore.ts:16
set
▸ set<T
>(key
, value
): void
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
key | ConfigKey |
value | T |
Returns
void