Search
Preparing search index...
The search index is not available
@threefold/grid_client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@threefold/grid_client
TFKVStoreBackend
Class TFKVStoreBackend
Hierarchy
TFKVStoreBackend
Implements
BackendStorageInterface
Index
Constructors
constructor
Properties
client
Methods
get
list
remove
set
split
Constructors
constructor
new TFKVStore
Backend
(
url
:
string
, mnemonic
:
string
, storeSecret
:
string
|
Uint8Array
, keypairType
:
KeypairType
)
:
TFKVStoreBackend
Parameters
url:
string
mnemonic:
string
storeSecret:
string
|
Uint8Array
keypairType:
KeypairType
Returns
TFKVStoreBackend
Properties
client
client
:
TFClient
Methods
get
get
(
key
:
string
)
:
Promise
<
string
>
Parameters
key:
string
Returns
Promise
<
string
>
list
list
(
key
:
string
)
:
Promise
<
unknown
[]
>
Parameters
key:
string
Returns
Promise
<
unknown
[]
>
remove
remove
(
key
:
string
)
:
Promise
<
SubmittableExtrinsic
<
"promise"
,
ISubmittableResult
>
[]
>
Parameters
key:
string
Returns
Promise
<
SubmittableExtrinsic
<
"promise"
,
ISubmittableResult
>
[]
>
set
set
(
key
:
string
, value
:
string
)
:
Promise
<
SubmittableExtrinsic
<
"promise"
,
ISubmittableResult
>
[]
>
Parameters
key:
string
value:
string
Returns
Promise
<
SubmittableExtrinsic
<
"promise"
,
ISubmittableResult
>
[]
>
split
split
(
key
:
string
, value
:
string
)
:
{}
Parameters
key:
string
value:
string
Returns
{}
Exports
TFKVStore
Backend
constructor
client
get
list
remove
set
split
Generated using
TypeDoc