Skip to main content

IEnvironmentsManager

Agent Runtimes


Agent Runtimes / runtimes/apis / IEnvironmentsManager

Interface: IEnvironmentsManager

Defined in: src/runtimes/apis.ts:64

Interface for the Environments Manager

Extends

  • IDisposable

Properties

changed

readonly changed: ISignal<IEnvironmentsManager, readonly IDatalayerEnvironment[]>

Defined in: src/runtimes/apis.ts:68

Signal emitted when the environments changes.


connectionFailure

readonly connectionFailure: ISignal<IEnvironmentsManager, Error>

Defined in: src/runtimes/apis.ts:76

A signal emitted when there is a connection failure.


isReady

readonly isReady: boolean

Defined in: src/runtimes/apis.ts:81

Test whether the manager is ready.


ready

readonly ready: 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>