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

Marks declarations that are still experimental in Monarch's API, which means that the design of the corresponding declarations has open issues which may (or may not) lead to their changes in the future. Roughly speaking, there is a chance that those declarations will be deprecated in the near future or the semantics of their behavior may change in some way that may break some code.

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

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.