Airship feature flag manager.

Constructors

Properties

Methods

Constructors

Properties

module: any

Methods

  • Retrieve a given flag's status and associated data by its name.

    Parameters

    • flagName: string

      The flag name

    Returns Promise<FeatureFlag>

    A promise resolving to the feature flag requested.

    Throws

    when failed to fetch

  • Tracks a feature flag interaction event.

    Parameters

    Returns Promise<void>

    A promise with an empty result.

    Throws

    when failed to fetch