PAOIDCClient
Preparing search index...
StateStore
Class StateStore<T>
Abstract
Type Parameters
T
=
Record
<
string
,
any
>
Hierarchy (
View Summary
)
StateStore
InMemoryStateStore
LocalStorageStateStore
Index
Constructors
constructor
Properties
prefix
Methods
clear
del
get
init?
set
Constructors
constructor
new
StateStore
<
T
=
Record
<
string
,
any
>
>
(
prefix
?:
string
)
:
StateStore
<
T
>
Type Parameters
T
=
Record
<
string
,
any
>
Parameters
prefix
:
string
= ""
Returns
StateStore
<
T
>
Properties
prefix
prefix
:
string
Methods
Abstract
clear
clear
(
maxAge
?:
number
)
:
Promise
<
void
>
Parameters
Optional
maxAge
:
number
Returns
Promise
<
void
>
Abstract
del
del
(
key
:
string
)
:
Promise
<
void
>
Parameters
key
:
string
Returns
Promise
<
void
>
Abstract
get
get
(
key
:
string
)
:
Promise
<
T
|
null
>
Parameters
key
:
string
Returns
Promise
<
T
|
null
>
Optional
init
init
?
()
:
Promise
<
StateStore
<
T
>
>
Returns
Promise
<
StateStore
<
T
>
>
Abstract
set
set
(
key
:
string
,
value
:
T
)
:
Promise
<
void
>
Parameters
key
:
string
value
:
T
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
prefix
Methods
clear
del
get
init
set
PAOIDCClient
Loading...