evaluate

abstract suspend fun evaluate(featureId: String, store: FeatureStore?, context: FlippingExecutionContext): Boolean(source)

Evaluates whether the feature should be enabled based on the execution context.

This method contains the core decision logic for the strategy. It examines the provided context and determines whether the feature identified by featureId should be activated.

Return

true if the feature should be enabled, false otherwise

Parameters

featureId

the unique identifier of the feature being evaluated

store

optional feature store for accessing feature metadata or other features

context

execution context containing runtime parameters (user info, region, etc.)