Skip to main content
Version: Next

IdentifyFunction

IdentifyFunction

Function type for identifying entities in the context of feature flags. This function should return an object representing the entity that will be used to evaluate the feature flag. It can be synchronous or asynchronous.

Signature
type IdentifyFunction<R> = (
context: EvaluationContext,
) => MaybePromise<R>