feature

suspend fun feature(feature: Feature)(source)

Registers an already constructed Feature instance.

This method is useful when features are created programmatically or loaded from an external source rather than defined inline using the DSL.

If a feature with the same UID already exists, the behavior depends on the configured FeatureStore implementation.

Parameters

feature

the feature to register