Preparing search index...
The search index is not available
Documentation - v0.19.5
Documentation
@mtcute/bun
index
StorageManager
Class StorageManager
Index
Constructors
constructor
Properties
dcs
driver
keys
log
options
platform
provider
salts
Methods
clear
destroy
load
save
Constructors
constructor
new
StorageManager
(
options
:
StorageManagerOptions
&
StorageManagerExtraOptions
,
)
:
StorageManager
Parameters
options
:
StorageManagerOptions
&
StorageManagerExtraOptions
Returns
StorageManager
Properties
Readonly
dcs
dcs
:
DefaultDcsService
Readonly
driver
driver
:
IStorageDriver
Readonly
keys
keys
:
AuthKeysService
Readonly
log
log
:
Logger
Readonly
options
options
:
StorageManagerOptions
&
StorageManagerExtraOptions
Readonly
platform
platform
:
ICorePlatform
Readonly
provider
provider
:
IMtStorageProvider
Readonly
salts
salts
:
FutureSaltsService
Methods
clear
clear
(
withAuthKeys
?:
boolean
)
:
Promise
<
void
>
Parameters
withAuthKeys
:
boolean
= false
Returns
Promise
<
void
>
destroy
destroy
()
:
Promise
<
void
>
Returns
Promise
<
void
>
load
load
()
:
Promise
<
void
>
Returns
Promise
<
void
>
save
save
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
dcs
driver
keys
log
options
platform
provider
salts
Methods
clear
destroy
load
save
Documentation - v0.19.5
Loading...