TegralApplication

This object represents a built and possibly running Tegral application.

You can interact with this application by starting or stopping it, inspecting and retrieving elements from its DI environment, etc.

Constructors

Link copied to clipboard
constructor(environment: ExtensibleInjectionEnvironment)

Functions

Link copied to clipboard
suspend fun start()

Starts this application with all its components.

Link copied to clipboard
suspend fun stop()

Stops this application with all its components.

Properties

Link copied to clipboard

The dependency injection environment used in this application. All components of this application live here (either directly or via the meta-environment).

Link copied to clipboard

Returns all the features that were installed in this application.

Link copied to clipboard

Returns all the features that additionally implement LifecycleHookedFeature that were installed in this application.