intellibrix v1.0.0
Preparing search index...
intellibrix
Core
KeyValueStore
Interface KeyValueStore
A simple, provider-agnostic key-value store.
interface
KeyValueStore
{
delete
(
key
:
string
)
:
Promise
<
boolean
>
;
dump
()
:
Promise
<
Record
<
string
,
any
>
>
;
get
(
key
:
string
)
:
Promise
<
any
>
;
load
(
data
:
Record
<
string
,
any
>
)
:
Promise
<
void
>
;
set
(
key
:
string
,
value
:
any
)
:
Promise
<
void
>
;
}
Implemented by
MemoryKeyValueStore
Index
Methods
delete
dump
get
load
set
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
Methods
delete
dump
get
load
set
intellibrix v1.0.0
Loading...
A simple, provider-agnostic key-value store.