TargetingKeyFactory
TargetingKeyFactory = (
context) =>string|undefined
Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:24
Resolves a stable OpenFeature targeting key from the current pipeline request.
For percentage rollouts this should normally be a user, account, tenant or device identifier that stays stable across requests.
Parameters
Section titled “Parameters”context
Section titled “context”Returns
Section titled “Returns”string | undefined