annotations-design-patterns
Guías (ES)
Guides (EN)
Preparing search index...
store
AsyncStore
Interface AsyncStore<K, V>
interface
AsyncStore
<
K
,
V
>
{
capabilities
?:
StoreCapabilities
;
get
(
key
:
K
)
:
Promise
<
V
|
undefined
>
;
has
(
key
:
K
)
:
Promise
<
boolean
>
;
set
(
key
:
K
,
value
:
V
,
options
?:
StoreEntryOptions
)
:
Promise
<
void
>
;
delete
(
key
:
K
)
:
Promise
<
boolean
>
;
clear
()
:
Promise
<
void
>
;
}
Type Parameters
K
V
Hierarchy (
View Summary
)
AsyncStore
RemoteStoreTransport
AtomicAsyncStore
Implemented by
RemoteAsyncStore
Index
Properties
capabilities?
Methods
get
has
set
delete
clear
Properties
Optional
Readonly
capabilities
capabilities
?:
StoreCapabilities
Methods
get
get
(
key
:
K
)
:
Promise
<
V
|
undefined
>
Parameters
key
:
K
Returns
Promise
<
V
|
undefined
>
has
has
(
key
:
K
)
:
Promise
<
boolean
>
Parameters
key
:
K
Returns
Promise
<
boolean
>
set
set
(
key
:
K
,
value
:
V
,
options
?:
StoreEntryOptions
)
:
Promise
<
void
>
Parameters
key
:
K
value
:
V
Optional
options
:
StoreEntryOptions
Returns
Promise
<
void
>
delete
delete
(
key
:
K
)
:
Promise
<
boolean
>
Parameters
key
:
K
Returns
Promise
<
boolean
>
clear
clear
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
capabilities
Methods
get
has
set
delete
clear
Guías (ES)
Guides (EN)
annotations-design-patterns
Loading...