transferum
Preparing search index...
AsyncStorageInterface
Interface AsyncStorageInterface<TInput, TOutput>
Asynchronous bidirectional storage with async clear/reset.
interface
AsyncStorageInterface
<
TInput
,
TOutput
>
{
size
:
number
;
clear
()
:
Promise
<
void
>
;
read
()
:
Promise
<
TOutput
|
undefined
>
;
reset
()
:
Promise
<
void
>
;
write
(
data
:
TInput
)
:
Promise
<
void
>
;
}
Type Parameters
TInput
TOutput
Hierarchy (
View Summary
)
AsyncIOFlowInterface
<
TInput
,
TOutput
>
AsyncStorageInterface
Index
Properties
size
Methods
clear
read
reset
write
Properties
Readonly
size
size
:
number
Methods
clear
clear
()
:
Promise
<
void
>
Returns
Promise
<
void
>
read
read
()
:
Promise
<
TOutput
|
undefined
>
Returns
Promise
<
TOutput
|
undefined
>
reset
reset
()
:
Promise
<
void
>
Returns
Promise
<
void
>
write
write
(
data
:
TInput
)
:
Promise
<
void
>
Parameters
data
:
TInput
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
size
Methods
clear
read
reset
write
transferum
Loading...
Asynchronous bidirectional storage with async clear/reset.