Preparing search index...
The search index is not available
Documentation - v0.22.3
Documentation
@mtcute/node
index
MemoryKeyValueRepository
Class MemoryKeyValueRepository
Implements
IKeyValueRepository
Index
Constructors
constructor
Properties
_driver
state
Methods
delete
delete
All
get
set
Constructors
constructor
new
MemoryKeyValueRepository
(
_driver
:
MemoryStorageDriver
,
)
:
MemoryKeyValueRepository
Parameters
_driver
:
MemoryStorageDriver
Returns
MemoryKeyValueRepository
Properties
Readonly
_driver
_driver
:
MemoryStorageDriver
Readonly
state
state
:
Map
<
string
,
Uint8Array
>
Methods
delete
delete
(
key
:
string
)
:
void
Delete a key-value pair
Parameters
key
:
string
Returns
void
delete
All
deleteAll
()
:
void
Returns
void
get
get
(
key
:
string
)
:
null
|
Uint8Array
Get a key-value pair
Parameters
key
:
string
Returns
null
|
Uint8Array
set
set
(
key
:
string
,
value
:
Uint8Array
)
:
void
Set a key-value pair
Parameters
key
:
string
value
:
Uint8Array
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_driver
state
Methods
delete
delete
All
get
set
Documentation - v0.22.3
Loading...
Delete a key-value pair