CustomEvaluationContext
CustomEvaluationContext
Context for custom evaluation of feature flags. This allows for more flexible evaluation based on custom logic or external data. The identify function can be a direct object or a function that returns the entities.
Signature
type CustomEvaluationContext<E> = {
identify: E | CustomEvaluationFunction<E>;
}
identify
property
E | CustomEvaluationFunction<E>
Optional function to identify the entities for evaluation. This can be a function that returns the entities based on the current context.