Preparing search index...
The search index is not available
Ylide SDK
Ylide SDK
ListCache
Class ListCache<T>
Type Parameters
T
Hierarchy
ListCache
Index
Constructors
constructor
Properties
db
group
Methods
getDB
load
load
Last
Mutable
Params
openDB
save
save
Last
Mutable
Params
Constructors
constructor
new
List
Cache
<
T
>
(
group
:
string
)
:
ListCache
<
T
>
Type Parameters
T
Parameters
group:
string
Returns
ListCache
<
T
>
Properties
Private
db
db
:
null
|
IDBPDatabase
<
DBInterface
>
= null
Private
Readonly
group
group
:
string
Methods
Protected
getDB
getDB
(
)
:
Promise
<
IDBPDatabase
<
DBInterface
>
>
Returns
Promise
<
IDBPDatabase
<
DBInterface
>
>
load
load
(
listStorage
:
ListStorage
<
any
>
)
:
Promise
<
void
>
Parameters
listStorage:
ListStorage
<
any
>
Returns
Promise
<
void
>
load
Last
Mutable
Params
load
Last
Mutable
Params
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
Private
openDB
openDB
(
)
:
Promise
<
IDBPDatabase
<
DBInterface
>
>
Returns
Promise
<
IDBPDatabase
<
DBInterface
>
>
save
save
(
listStorage
:
ListStorage
<
any
>
)
:
Promise
<
void
>
Parameters
listStorage:
ListStorage
<
any
>
Returns
Promise
<
void
>
save
Last
Mutable
Params
save
Last
Mutable
Params
(
params
:
any
)
:
Promise
<
void
>
Parameters
params:
any
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Ylide SDK
List
Cache
constructor
db
group
getDB
load
load
Last
Mutable
Params
openDB
save
save
Last
Mutable
Params
Generated using
TypeDoc