Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
plugin-ext
PluginChannel
Class PluginChannel
A channel communicating with a counterpart in a plugin host.
Implements
DebugChannel
Index
Constructors
constructor
Properties
closed
Emitter
connection
error
Emitter
id
message
Emitter
Methods
close
fire
Closed
fire
Error
fire
Message
Received
on
Close
on
Error
on
Message
send
Constructors
constructor
new
Plugin
Channel
(
id
,
connection
)
:
PluginChannel
Parameters
id
:
string
connection
:
ConnectionMain
|
ConnectionExt
Returns
PluginChannel
Properties
Private
closed
Emitter
closed
Emitter
:
Emitter
<
void
>
= ...
Protected
Readonly
connection
connection
:
ConnectionMain
|
ConnectionExt
Private
error
Emitter
error
Emitter
:
Emitter
<
unknown
>
= ...
Protected
Readonly
id
id
:
string
Private
message
Emitter
message
Emitter
:
Emitter
<
string
>
= ...
Methods
close
close
(
)
:
void
Returns
void
fire
Closed
fire
Closed
(
)
:
void
Returns
void
fire
Error
fire
Error
(
error
)
:
void
Parameters
error
:
unknown
Returns
void
fire
Message
Received
fire
Message
Received
(
msg
)
:
void
Parameters
msg
:
string
Returns
void
on
Close
on
Close
(
cb
)
:
void
Parameters
cb
:
(
(
code
,
reason
)
=>
void
)
(
code
,
reason
)
:
void
Parameters
code
:
number
reason
:
string
Returns
void
Returns
void
on
Error
on
Error
(
cb
)
:
void
Parameters
cb
:
(
(
reason
)
=>
void
)
(
reason
)
:
void
Parameters
reason
:
any
Returns
void
Returns
void
on
Message
on
Message
(
cb
)
:
void
Parameters
cb
:
(
(
message
)
=>
void
)
(
message
)
:
void
Parameters
message
:
string
Returns
void
Returns
void
send
send
(
content
)
:
void
Parameters
content
:
string
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
closed
Emitter
connection
error
Emitter
id
message
Emitter
close
fire
Closed
fire
Error
fire
Message
Received
on
Close
on
Error
on
Message
send
Theia TypeDoc
Loading...
A channel communicating with a counterpart in a plugin host.