Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
ai-core
AIVariableService
Interface AIVariableService
interface
AIVariableService
{
onDidChangeVariables
:
Event
<
void
>
;
getResolver
(
name
,
arg
,
context
)
:
Promise
<
undefined
|
AIVariableResolver
>
;
getVariable
(
name
)
:
undefined
|
Readonly
<
AIVariable
>
;
getVariables
(
)
:
Readonly
<
AIVariable
>
[]
;
hasVariable
(
name
)
:
boolean
;
registerResolver
(
variable
,
resolver
)
:
Disposable
;
resolveVariable
(
variable
,
context
)
:
Promise
<
undefined
|
ResolvedAIVariable
>
;
unregisterResolver
(
variable
,
resolver
)
:
void
;
unregisterVariable
(
name
)
:
void
;
}
Implemented by
DefaultAIVariableService
Index
Properties
on
Did
Change
Variables
Methods
get
Resolver
get
Variable
get
Variables
has
Variable
register
Resolver
resolve
Variable
unregister
Resolver
unregister
Variable
Properties
Readonly
on
Did
Change
Variables
on
Did
Change
Variables
:
Event
<
void
>
Methods
get
Resolver
get
Resolver
(
name
,
arg
,
context
)
:
Promise
<
undefined
|
AIVariableResolver
>
Parameters
name
:
string
arg
:
undefined
|
string
context
:
AIVariableContext
Returns
Promise
<
undefined
|
AIVariableResolver
>
get
Variable
get
Variable
(
name
)
:
undefined
|
Readonly
<
AIVariable
>
Parameters
name
:
string
Returns
undefined
|
Readonly
<
AIVariable
>
get
Variables
get
Variables
(
)
:
Readonly
<
AIVariable
>
[]
Returns
Readonly
<
AIVariable
>
[]
has
Variable
has
Variable
(
name
)
:
boolean
Parameters
name
:
string
Returns
boolean
register
Resolver
register
Resolver
(
variable
,
resolver
)
:
Disposable
Parameters
variable
:
AIVariable
resolver
:
AIVariableResolver
Returns
Disposable
resolve
Variable
resolve
Variable
(
variable
,
context
)
:
Promise
<
undefined
|
ResolvedAIVariable
>
Parameters
variable
:
AIVariableArg
context
:
AIVariableContext
Returns
Promise
<
undefined
|
ResolvedAIVariable
>
unregister
Resolver
unregister
Resolver
(
variable
,
resolver
)
:
void
Parameters
variable
:
AIVariable
resolver
:
AIVariableResolver
Returns
void
unregister
Variable
unregister
Variable
(
name
)
:
void
Parameters
name
:
string
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
on
Did
Change
Variables
get
Resolver
get
Variable
get
Variables
has
Variable
register
Resolver
resolve
Variable
unregister
Resolver
unregister
Variable
Theia TypeDoc
Loading...