Package-level declarations

Types

Link copied to clipboard
abstract class BooleanFeatureFlag(val key: String, val default: Boolean) : FeatureFlag<Boolean>

A simple Boolean feature flag.

Link copied to clipboard
abstract class DoubleFeatureFlag(val key: String, val default: Double) : FeatureFlag<Double>

A simple Double feature flag.

Link copied to clipboard

A strongly typed representation of a feature flag that couples a key, a default value, and a data type. Feature flag instances can be used to acquire the value that flag represents from a FeatureFlagManager or ObservableFeatureFlagManager implementation.

Link copied to clipboard

An underlying store of raw, primitive feature flag values.

Link copied to clipboard

Acquire values from FeatureFlag instances.

Link copied to clipboard
Link copied to clipboard
@ExperimentalCoroutinesApi
class InMemoryFeatureFlagDataStoreOverride(delegate: ObservableFeatureFlagDataStore, initialOverrides: Map<String, Any> = emptyMap()) : ObservableFeatureFlagDataStore

An implementation of ObservableFeatureFlagDataStore that allows overriding values produced by delegate with values held in memory.

Link copied to clipboard
abstract class LongFeatureFlag(val key: String, val default: Long) : FeatureFlag<Long>

A simple Long feature flag.

Link copied to clipboard

A FeatureFlagManager implementation that allows extension via mixins.

Link copied to clipboard

An underlying store of raw, primitive feature flag values that supports observability via Flow.

Link copied to clipboard

Acquire a Flow of values from FeatureFlag instances.

Link copied to clipboard
abstract class StringFeatureFlag(val key: String, val default: String) : FeatureFlag<String>

A simple String feature flag.