Skip to main content
Version: Next

FlagRunner

FlagRunner

Signature
interface FlagRunner<E, R> {
run(context: CustomEvaluationContext<E>): Promise<R>;
}

run

method
(context: CustomEvaluationContext<E>) => Promise<R>

Run the feature flag evaluation with a custom context. This allows for more flexible evaluation based on custom logic or external data.