← Back to Kairo Docs|API Reference (Dokka)

Package-level declarations

Types

Link copied to clipboard
abstract class Feature

Features are the core building block of Kairo applications. Each Feature defines an encapsulated piece of functionality, such as support for a specific database or managed service, or a domain-specific set of functionality.

Link copied to clipboard

Some common priorities are defined here, but feel free to also create your own. During LifecycleHandler.start, lower priorities run first. During LifecycleHandler.stop, higher priorities run first.

Link copied to clipboard

Builder DSL for defining lifecycle handlers. Use handler to add handlers at specific priorities.

Link copied to clipboard

A lifecycle handler manages Feature startup and shutdown at a specific priority.

Link copied to clipboard

Builder for a single lifecycle handler. Define start and stop blocks.

Functions

Link copied to clipboard

DSL entrypoint for defining lifecycle handlers within a Feature.