Preparing search index...
The search index is not available
mtcute - v0.17.2
mtcute
@mtcute/web
IdbStorageDriver
Class IdbStorageDriver
Base storage driver class, implementing
IStorageDriver
and handling the lifecycle for you
Hierarchy (
view full
)
BaseStorageDriver
IdbStorageDriver
Index
Constructors
constructor
Properties
_db
Name
db
Methods
_destroy
_load
_save
register
Migration
write
Later
Constructors
constructor
new
Idb
Storage
Driver
(
_dbName
)
:
IdbStorageDriver
Parameters
_dbName
:
string
Returns
IdbStorageDriver
Properties
Readonly
_db
Name
_db
Name
:
string
db
db
:
IDBDatabase
Methods
_destroy
_destroy
(
)
:
void
Returns
void
_load
_load
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
_save
_save
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
register
Migration
register
Migration
(
repo
,
version
,
migration
)
:
void
Parameters
repo
:
string
version
:
number
migration
:
MigrationFunction
Returns
void
write
Later
write
Later
(
os
,
obj
)
:
void
Parameters
os
:
string
obj
:
unknown
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_db
Name
db
Methods
_destroy
_load
_save
register
Migration
write
Later
mtcute - v0.17.2
Loading...
Base storage driver class, implementing IStorageDriver and handling the lifecycle for you