Preparing search index...
The search index is not available
mtcute - v0.17.2
mtcute
@mtcute/web
TelegramWorkerPort
Class TelegramWorkerPort<T>
Type Parameters
T
extends
WorkerCustomMethods
Hierarchy (
view full
)
TelegramWorkerPort
<
T
>
TelegramWorkerPort
Index
Constructors
constructor
Properties
options
Methods
connect
To
Worker
Constructors
constructor
new
Telegram
Worker
Port
<
T
>
(
options
)
:
TelegramWorkerPort
<
T
>
Type Parameters
T
extends
WorkerCustomMethods
Parameters
options
:
TelegramWorkerPortOptions
Returns
TelegramWorkerPort
<
T
>
Properties
Readonly
options
options
:
TelegramWorkerPortOptions
Methods
connect
To
Worker
connect
To
Worker
(
worker
,
handler
)
:
[
SendFn
,
(
(
)
=>
void
)
]
Parameters
worker
:
SomeWorker
handler
:
ClientMessageHandler
Returns
[
SendFn
,
(
(
)
=>
void
)
]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
options
Methods
connect
To
Worker
mtcute - v0.17.2
Loading...