isFeatureEnabledFlow

fun isFeatureEnabledFlow(featureName: String): Flow<Boolean>

Checks whether a feature is currently enabled.

For Feature.LocalFeature, returns the stored boolean value. For Feature.RemoteFeature, resolves the enabled state based on the current FeatureState:

Return

A Flow emitting the current enabled state of the feature

Parameters

featureName

The name of the feature to check

Throws

if no feature with the given name is registered