Component

expect annotation class Component

Annotation: Component

Marks an object as being eligible for inclusion in Dependency Injection (DI) contexts, but without restrictions or constraints on object lifecycle (like Singleton). All constrained DI participants are also Components; in JVM contexts, these are called "beans."

actual typealias Component = Bean

Annotation: Component (JS)

Marks an object as being eligible for inclusion in Dependency Injection (DI) contexts, but without restrictions or constraints on object lifecycle (like Singleton). All constrained DI participants are also Components; in JVM contexts, these are called "beans."