Preparing search index...
The search index is not available
mtcute - v0.17.2
mtcute
@mtcute/core
utils
DefaultDcsService
Class DefaultDcsService
Hierarchy (
view full
)
BaseService
DefaultDcsService
Index
Constructors
constructor
Properties
_driver
_kv
_log
_reader
Map
_writer
Map
Methods
_deserialize
Tl
_serialize
Tl
fetch
store
Constructors
constructor
new
Default
Dcs
Service
(
_kv
,
opts
)
:
DefaultDcsService
Parameters
_kv
:
IKeyValueRepository
opts
:
ServiceOptions
Returns
DefaultDcsService
Properties
Protected
_driver
_driver
:
IStorageDriver
Readonly
_kv
_kv
:
IKeyValueRepository
Protected
_log
_log
:
Logger
Protected
_reader
Map
_reader
Map
:
TlReaderMap
Protected
_writer
Map
_writer
Map
:
TlWriterMap
Methods
Protected
_deserialize
Tl
_deserialize
Tl
(
data
)
:
null
|
TlObject
Parameters
data
:
Uint8Array
Returns
null
|
TlObject
Protected
_serialize
Tl
_serialize
Tl
(
obj
)
:
Uint8Array
Parameters
obj
:
TlObject
Returns
Uint8Array
fetch
fetch
(
)
:
Promise
<
null
|
DcOptions
>
Returns
Promise
<
null
|
DcOptions
>
store
store
(
dcs
)
:
Promise
<
void
>
Parameters
dcs
:
DcOptions
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_driver
_kv
_log
_reader
Map
_writer
Map
Methods
_deserialize
Tl
_serialize
Tl
fetch
store
mtcute - v0.17.2
Loading...