intellibrix v1.0.0
Preparing search index...
intellibrix
Core
MemoryKeyValueStore
Class MemoryKeyValueStore
An in-memory
KeyValueStore
. The default store used by a
Brick
when no other is configured.
Implements
KeyValueStore
Index
Constructors
constructor
Methods
delete
dump
get
load
set
Constructors
constructor
new
MemoryKeyValueStore
()
:
MemoryKeyValueStore
Returns
MemoryKeyValueStore
Methods
delete
delete
(
key
:
string
)
:
Promise
<
boolean
>
Parameters
key
:
string
Returns
Promise
<
boolean
>
dump
dump
()
:
Promise
<
Record
<
string
,
any
>
>
Returns
Promise
<
Record
<
string
,
any
>
>
get
get
(
key
:
string
)
:
Promise
<
any
>
Parameters
key
:
string
Returns
Promise
<
any
>
load
load
(
data
:
Record
<
string
,
any
>
)
:
Promise
<
void
>
Parameters
data
:
Record
<
string
,
any
>
Returns
Promise
<
void
>
set
set
(
key
:
string
,
value
:
any
)
:
Promise
<
void
>
Parameters
key
:
string
value
:
any
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
delete
dump
get
load
set
intellibrix v1.0.0
Loading...
An in-memory KeyValueStore. The default store used by a Brick when no other is configured.