Logos DX
Preparing search index...
@logosdx/state-machine
StorageAdapter
Type Alias StorageAdapter
type
StorageAdapter
=
{
load
:
(
key
:
string
)
=>
Promise
<
{
context
:
any
;
state
:
string
}
|
null
>
;
save
:
(
key
:
string
,
snapshot
:
{
context
:
any
;
state
:
string
}
,
)
=>
Promise
<
void
>
;
}
Index
Properties
load
save
Properties
load
load
:
(
key
:
string
)
=>
Promise
<
{
context
:
any
;
state
:
string
}
|
null
>
save
save
:
(
key
:
string
,
snapshot
:
{
context
:
any
;
state
:
string
}
)
=>
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
load
save
Logos DX
Loading...