UNPKG
mst-persist
Version:
latest (0.1.4)
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.2
0.0.1
Persist and hydrate MobX-state-tree stores
github.com/agilgur5/mst-persist
agilgur5/mst-persist
mst-persist
/
dist
/
asyncLocalStorage.d.ts
9 lines
(8 loc)
•
306 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
interface
IAsyncLocalStorage
{
clear
():
Promise
<
void
>;
getItem
(
key
:
string
):
Promise
<
string
>;
removeItem
(
key
:
string
):
Promise
<
void
>;
setItem
(
key
:
string
,
value
:
string
):
Promise
<
void
>; }
export
declare
const
AsyncLocalStorage
:
IAsyncLocalStorage
;
export
default
AsyncLocalStorage
;