Implementation of HackleRemoteConfig interface

Provides methods to retrieve remote configuration values.

Implements

  • HackleRemoteConfig

Constructors

Properties

Methods

Constructors

Properties

user?: User

Optional user context for configuration evaluation

Methods

  • Gets a remote configuration value asynchronously

    Parameters

    • key: string

      The configuration key

    • defaultValue: string | number | boolean

      The default value to return if the key is not found

    Returns Promise<string | number | boolean>

    Promise resolving to the configuration value

  • Gets a remote configuration value synchronously

    Parameters

    • key: string

      The configuration key

    • defaultValue: string | number | boolean

      The default value to return if the key is not found

    Returns string | number | boolean

    The configuration value