addFeatures

suspend fun addFeatures(featuresToAdd: List<Feature>)

Registers and persists a list of features.

This method adds the features to the internal registry (if not already present) and stores their initial state in DataStore. Features with the same name will not be added twice.

Parameters

featuresToAdd

The list of features to register and persist