Circle V2 API Docs
    Preparing search index...

    Browser LaunchDarkly client. Holds configuration for FeatureFlagProvider from @repo/feature-flags/react and exposes imperative identify / isEnabled / getVariation methods for use outside of React hooks. The underlying LDClient is bound by the React provider once initialized; calls made before binding are either queued (identify) or return the supplied default (isEnabled, getVariation).

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    • get isIdentified(): boolean

      True once LaunchDarkly holds flags for a real context. The provider starts on an anonymous context and only switches when identify completes, so flags read before then are the anonymous user's, not the signed-in user's.

      Returns boolean

    Methods

    • Calls listener when isIdentified turns true; returns the unsubscribe.

      Parameters

      • listener: () => void

      Returns () => void