Preparing search index...
The search index is not available
Documentation - v0.19.5
Documentation
@mtcute/web
utils
DefaultDcsService
Class DefaultDcsService
Hierarchy (
View Summary
)
BaseService
DefaultDcsService
Index
Constructors
constructor
Properties
_driver
_kv
_log
_reader
Map
_writer
Map
Methods
_deserialize
Tl
_serialize
Tl
fetch
store
Constructors
constructor
new
DefaultDcsService
(
_kv
:
IKeyValueRepository
,
opts
:
ServiceOptions
,
)
:
DefaultDcsService
Parameters
_kv
:
IKeyValueRepository
opts
:
ServiceOptions
Returns
DefaultDcsService
Properties
Protected
_driver
_driver
:
IStorageDriver
Readonly
_kv
_kv
:
IKeyValueRepository
Protected
_log
_log
:
Logger
Protected
_reader
Map
_readerMap
:
TlReaderMap
Protected
_writer
Map
_writerMap
:
TlWriterMap
Methods
Protected
_deserialize
Tl
_deserializeTl
(
data
:
Uint8Array
)
:
null
|
TlObject
Parameters
data
:
Uint8Array
Returns
null
|
TlObject
Protected
_serialize
Tl
_serializeTl
(
obj
:
TlObject
)
:
Uint8Array
Parameters
obj
:
TlObject
Returns
Uint8Array
fetch
fetch
()
:
Promise
<
null
|
DcOptions
>
Returns
Promise
<
null
|
DcOptions
>
store
store
(
dcs
:
DcOptions
)
:
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
Documentation - v0.19.5
Loading...