@keetanetwork/keetanet-client
Preparing search index...
KeetaNetSDK
Referenced
KVStorageProviderAPI
Interface KVStorageProviderAPI
interface
KVStorageProviderAPI
{
destroy
?:
()
=>
Promise
<
void
>
;
gc
(
timeout
?:
number
)
:
Promise
<
void
>
;
get
(
arena
:
null
|
string
,
key
:
string
,
)
:
Promise
<
undefined
|
JSONSerializable
>
;
getAll
(
arena
:
string
)
:
Promise
<
{
[
key
:
string
]:
JSONSerializable
}
>
;
incr
(
arena
:
string
,
key
:
string
,
change
:
number
)
:
Promise
<
bigint
>
;
list
(
arena
:
string
)
:
Promise
<
string
[]
>
;
set
(
arena
:
string
,
key
:
string
,
value
:
undefined
|
JSONSerializable
,
options
?:
KVSetOptionsType
,
)
:
Promise
<
void
>
;
xor
(
arena
:
null
,
key
:
string
,
change
:
BufferStorage
)
:
Promise
<
void
>
;
}
Index
Properties
P
destroy?
Methods
M
gc
M
get
M
get
All
M
incr
M
list
M
set
M
xor
Properties
Optional
destroy
destroy
?:
()
=>
Promise
<
void
>
Methods
gc
gc
(
timeout
?:
number
)
:
Promise
<
void
>
Parameters
Optional
timeout
:
number
Returns
Promise
<
void
>
get
get
(
arena
:
null
|
string
,
key
:
string
)
:
Promise
<
undefined
|
JSONSerializable
>
Parameters
arena
:
null
|
string
key
:
string
Returns
Promise
<
undefined
|
JSONSerializable
>
get
All
getAll
(
arena
:
string
)
:
Promise
<
{
[
key
:
string
]:
JSONSerializable
}
>
Parameters
arena
:
string
Returns
Promise
<
{
[
key
:
string
]:
JSONSerializable
}
>
incr
incr
(
arena
:
string
,
key
:
string
,
change
:
number
)
:
Promise
<
bigint
>
Parameters
arena
:
string
key
:
string
change
:
number
Returns
Promise
<
bigint
>
list
list
(
arena
:
string
)
:
Promise
<
string
[]
>
Parameters
arena
:
string
Returns
Promise
<
string
[]
>
set
set
(
arena
:
string
,
key
:
string
,
value
:
undefined
|
JSONSerializable
,
options
?:
KVSetOptionsType
,
)
:
Promise
<
void
>
Parameters
arena
:
string
key
:
string
value
:
undefined
|
JSONSerializable
Optional
options
:
KVSetOptionsType
Returns
Promise
<
void
>
xor
xor
(
arena
:
null
,
key
:
string
,
change
:
BufferStorage
)
:
Promise
<
void
>
Parameters
arena
:
null
key
:
string
change
:
BufferStorage
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
P
destroy
Methods
M
gc
M
get
M
get
All
M
incr
M
list
M
set
M
xor
@keetanetwork/keetanet-client
Loading...