Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
plugin-ext
CommandsConverter
Class CommandsConverter
Index
Constructors
constructor
Properties
commands
commands
Map
handle
is
Safe
Command
Registered
safe
Command
Id
Methods
execute
Safe
Command
to
Internal
Command
to
Safe
Command
Constructors
constructor
new
Commands
Converter
(
commands
)
:
CommandsConverter
Parameters
commands
:
CommandRegistryImpl
Returns
CommandsConverter
Properties
Private
Readonly
commands
commands
:
CommandRegistryImpl
Private
Readonly
commands
Map
commands
Map
:
Map
<
number
,
Command
>
= ...
Private
handle
handle
:
number
= 0
Private
is
Safe
Command
Registered
is
Safe
Command
Registered
:
boolean
Private
Readonly
safe
Command
Id
safe
Command
Id
:
string
Methods
Private
execute
Safe
Command
execute
Safe
Command
<
R
>
(
...
args
)
:
PromiseLike
<
undefined
|
R
>
Type Parameters
R
Parameters
Rest
...
args
:
any
[]
Returns
PromiseLike
<
undefined
|
R
>
Protected
to
Internal
Command
to
Internal
Command
(
external
)
:
Command
Parameters
external
:
Command
Returns
Command
to
Safe
Command
to
Safe
Command
(
command
,
disposables
)
:
undefined
Convert to a command that can be safely passed over JSON-RPC.
Parameters
command
:
undefined
disposables
:
DisposableCollection
Returns
undefined
to
Safe
Command
(
command
,
disposables
)
:
Command
Parameters
command
:
Command
disposables
:
DisposableCollection
Returns
Command
to
Safe
Command
(
command
,
disposables
)
:
undefined
|
Command
Parameters
command
:
undefined
|
Command
disposables
:
DisposableCollection
Returns
undefined
|
Command
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
commands
commands
Map
handle
is
Safe
Command
Registered
safe
Command
Id
execute
Safe
Command
to
Internal
Command
to
Safe
Command
Theia TypeDoc
Loading...
Convert to a command that can be safely passed over JSON-RPC.