Callback interface for collecting information about the SDK at runtime.

This interface is used to track current identity state of the SDK.

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.

interface LDInspectionIdentifyHandler {
    method: ((context: LDContext) => void);
    name: string;
    synchronous?: boolean;
    type: "client-identity-changed";
}

Properties

method: ((context: LDContext) => void)

This method will be called when an identify operation completes.

name: string

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

synchronous?: boolean

If true, then the inspector will be ran synchronously with identification.

type