IEnvironmentsManager
Agent Runtimes / runtimes/apis / IEnvironmentsManager
Interface: IEnvironmentsManager
Defined in: src/runtimes/apis.ts:64
Interface for the Environments Manager
Extends
IDisposable
Properties
changed
readonlychanged:ISignal<IEnvironmentsManager, readonlyIDatalayerEnvironment[]>
Defined in: src/runtimes/apis.ts:68
Signal emitted when the environments changes.
connectionFailure
readonlyconnectionFailure:ISignal<IEnvironmentsManager,Error>
Defined in: src/runtimes/apis.ts:76
A signal emitted when there is a connection failure.
isReady
readonlyisReady:boolean
Defined in: src/runtimes/apis.ts:81
Test whether the manager is ready.
ready
readonlyready:Promise<void>
Defined in: src/runtimes/apis.ts:86
A promise that fulfills when the manager is ready.
Methods
get()
get(): readonly
IDatalayerEnvironment[]
Defined in: src/runtimes/apis.ts:91
Get the list of environments.
Returns
readonly IDatalayerEnvironment[]
refresh()
refresh():
Promise<void>
Defined in: src/runtimes/apis.ts:96
Refresh the environment list.
Returns
Promise<void>
refreshEnvironments()
refreshEnvironments():
Promise<void>
Defined in: src/runtimes/apis.ts:101
Refresh the environments.
Returns
Promise<void>