Skip to main content

App Management API that allows you to handle your interop-enabled apps.

14 Methods

application()⚓︎

(name: string) => Application | undefined

Retrieves an app by name.

Parameters (1)

Name Type Required Description
name⚓︎ string

Name of the desired app.

applications()⚓︎

() => Application[]

Retrieves a collection of the available apps.

getConfigurations()⚓︎

(apps?: string[]) => Promise<Definition[]>

Retrieves the configurations of the specified apps.

Parameters (1)

Name Type Required Description
apps⚓︎ string[] x

List of names of the apps for which to retrieve configurations.

getConfigurations()⚓︎

(apps: string[]) => Promise<Record<string, any>>

Parameters (1)

Name Type Required Description
apps⚓︎ string[] x

instances()⚓︎

() => Instance[]

Retrieves a collection of all running app instances.

onAppAdded()⚓︎

(callback: (app: Application) => any) => UnsubscribeFunction

Notifies when an app is registered in the environment.

Parameters (1)

Name Type Required Description
callback⚓︎ (app: Application) => any

Callback function for handling the event.

onAppAvailable()⚓︎

(callback: (app: Application) => any) => UnsubscribeFunction

Notifies when an app is available and can be started.

Parameters (1)

Name Type Required Description
callback⚓︎ (app: Application) => any

Callback function for handling the event.

onAppChanged()⚓︎

(callback: (app: Application) => any) => UnsubscribeFunction

Notifies when the configuration for an app has changed.

Parameters (1)

Name Type Required Description
callback⚓︎ (app: Application) => any

Callback function for handling the event.

onAppRemoved()⚓︎

(callback: (app: Application) => any) => UnsubscribeFunction

Notifies when an app is removed from the environment.

Parameters (1)

Name Type Required Description
callback⚓︎ (app: Application) => any

Callback function for handling the event.

onAppUnavailable()⚓︎

(callback: (app: Application) => any) => UnsubscribeFunction

Notifies when an app is no longer available and can't be started.

Parameters (1)

Name Type Required Description
callback⚓︎ (app: Application) => any

Callback function for handling the event.

onInstanceStarted()⚓︎

(callback: (instance: Instance) => any) => UnsubscribeFunction

Notifies when a new app instance is started.

Parameters (1)

Name Type Required Description
callback⚓︎ (instance: Instance) => any

Callback function for handling the event.

onInstanceStartFailed()⚓︎

(callback: (instance: Instance) => any) => UnsubscribeFunction

Notifies when starting a new app instance has failed.

Parameters (1)

Name Type Required Description
callback⚓︎ (instance: Instance) => any

Callback function for handling the event.

onInstanceStopped()⚓︎

(callback: (instance: Instance) => any) => UnsubscribeFunction

Notifies when an app instance is stopped.

Parameters (1)

Name Type Required Description
callback⚓︎ (instance: Instance) => any

Callback function for handling the event.

onInstanceUpdated()⚓︎

(callback: (instance: Instance) => any) => UnsubscribeFunction

Notifies when an app instance is updated.

Parameters (1)

Name Type Required Description
callback⚓︎ (instance: Instance) => any

Callback function for handling the event.