Callback interface for collecting information about the SDK at runtime.

This interface is used to collect information about flag usage.

This interface should not be used by the application to access flags for the purpose of controlling application flow. It is intended for monitoring, analytics, or debugging purposes.


  • LDInspectionFlagUsedHandler



method: ((flagKey: string, flagDetail: LDEvaluationDetail, context: LDContext) => void)

Type declaration

    • (flagKey: string, flagDetail: LDEvaluationDetail, context: LDContext): void
    • This method is called when a flag is accessed via a variation method, or it can be called based on actions in wrapper SDKs which have different methods of tracking when a flag was accessed. It is not called when a call is made to allFlags.


      Returns void

name: string

Name of the inspector. Will be used for logging issues with the inspector.

type: "flag-used"

Generated using TypeDoc