• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • @openfeature/web-sdk
  • createEvaluationEvent

Function createEvaluationEvent

  • createEvaluationEvent(hookContext, evaluationDetails): EvaluationEvent
  • Returns an OpenTelemetry compliant event for flag evaluation.

    Parameters

    • hookContext: Readonly<HookContext<FlagValue>>

      Contextual information about the flag evaluation

    • evaluationDetails: EvaluationDetails<FlagValue>

      The details of the flag evaluation

    Returns EvaluationEvent

    An evaluation event object containing the event name and attributes

    • Defined in packages/shared/src/telemetry/evaluation-event.ts:22

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc