← Back to Kairo Docs|API Reference (Dokka)

Feature

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.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Defines start and stop handlers for this Feature. Override using the lifecycle DSL.

Link copied to clipboard
abstract val name: String

Feature names should be unique for debugging purposes, but they don't strictly need to be.

Functions

Link copied to clipboard
open override fun toString(): String